
/* Reset dasar dan pengaturan font global ke Plus Jakarta Sans */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif; /* FONT BARU */
    background-color: #F7F7F5;
    color: #1A1A1A;
}

/* Container utama untuk menengahkan konten */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Styling Logo */
.logo {
    max-width: 160px; /* Sedikit lebih besar untuk font yang lebih modern */
    height: auto;
    margin-bottom: 2rem;
}

/* Styling Header Teks */
header h1 {
    font-size: 2.8rem;
    font-weight: 800; /* Font weight lebih tebal untuk judul */
    margin-top: 0;
    margin-bottom: 0.75rem;
}

header p {
    font-size: 1.1rem;
    color: #555555;
    max-width: 450px; /* Batasi lebar paragraf agar mudah dibaca */
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Grup untuk tombol-tombol */
.button-group {
    display: flex;
}

/* Styling dasar untuk semua tombol */
.btn {
    padding: 14px 35px;
    border: 2px solid;
    border-radius: 12px; /* Sudut yang sedikit lebih modern (tidak terlalu bulat) */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

/* === GAYA TOMBOL BARU === */

/* Tombol Primer (Login) - Isian Warna */
.btn-primary {
    background-color: #0D47A1; /* Biru tua */
    color: #FFFFFF; /* Teks putih */
    border-color: #0D47A1; /* Border dengan warna yang sama */
}

.btn-primary:hover {
    background-color: #1565C0; /* Biru yang sedikit lebih terang saat hover */
    border-color: #1565C0;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

/* ---- Media Query untuk Perangkat Mobile (Responsif) ---- */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/*
=====================================================
  TAMBAHAN STYLE UNTUK FORM REGISTRASI
=====================================================
*/

/* Container untuk Form */
.form-container {
    width: 100%;
    max-width: 480px; /* Lebar maksimal form di desktop */
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); /* Bayangan yang halus */
    box-sizing: border-box;
}

/* Header di dalam form */
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 0.5rem 0;
}

.form-header p {
    font-size: 1rem;
    color: #555555;
    margin: 0;
}

/* Grup Form (Label + Input) */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Styling untuk semua input dan select box */
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #DCDCDC;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Pastikan font konsisten */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Menghilangkan panah default pada select box untuk styling custom (opsional) */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.7rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}


/* Efek saat input/select di-klik (focus) */
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0D47A1; /* Warna border biru tua (konsisten) */
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15); /* Efek glow */
}

/* Helper class untuk tombol lebar penuh */
.btn-full-width {
    width: 100%;
    margin-top: 1rem; /* Jarak dari field terakhir */
}

/* Link di bagian bawah form */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.form-footer p {
    color: #555555;
    font-size: 0.95rem;
}

.form-footer a {
    color: #0D47A1; /* Warna biru tua (konsisten) */
    font-weight: 700;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Penyesuaian Responsif untuk Form */
@media (max-width: 600px) {
    .form-container {
        padding: 2rem 1.5rem; /* Padding lebih kecil di mobile */
    }
    .form-header h2 {
        font-size: 1.8rem;
    }
}

/*
=====================================================
  TAMBAHAN STYLE UNTUK SHOW/HIDE PASSWORD
=====================================================
*/

/* Wrapper untuk input password agar ikon bisa diposisikan */
/* Wrapper untuk input password agar ikon bisa diposisikan */
.password-wrapper {
    position: relative;
    width: 100%;
}

/* Ikon di dalam input password */
/* HAPUS SEMUA BLOK INI */
.password-wrapper {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #333;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

/* TAMBAHKAN BLOK BARU INI */
.form-check {
    display: flex;
    align-items: center;
    margin-top: -5px; /* Sedikit mengurangi jarak dari input password */
    margin-bottom: 20px; /* Memberi jarak ke tombol login */
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-right: 8px; /* Jarak antara checkbox dan teks label */
}

.form-check-label {
    font-size: 0.95rem; /* Ukuran font sedikit lebih kecil */
    color: #555;
    cursor: pointer; /* Mengubah cursor saat di-hover di atas label */
}

/* Style untuk pesan error validasi */
.text-danger {
    color: #D32F2F; /* Warna merah yang konsisten */
    font-size: 0.875rem;
    display: block;
    margin-top: 5px;
}