/* style.css */

/* 1. Aturan Dasar untuk Body dan Font */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7f6; /* Warna latar belakang lembut */
    display: flex; /* Untuk menengahkan konten */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* 2. Styling untuk Container Utama (Kotak Login/Registrasi) */
.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
    width: 100%;
    max-width: 400px; /* Batasan lebar */
    text-align: center;
}

/* 3. Styling Judul */
h2 {
    color: #333;
    margin-bottom: 25px;
}

/* 4. Styling Input Fields */
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Penting agar padding tidak menambah lebar total */
    font-size: 16px;
}

/* 5. Styling Tombol (Button) */
button[type="submit"] {
    background-color: #007bff; /* Warna biru primer */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3; /* Warna biru lebih gelap saat hover */
}

/* 6. Styling Pesan (Error/Success) */
.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* 7. Styling Tautan */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 8. Styling untuk Dashboard */
.dashboard-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: left;
}