* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    text-align: center;
    padding: 100px 40px 40px;
}

/* --- NAVBAR STYLES --- */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background: #2563eb;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.logo-text h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0; 
    white-space: nowrap; 
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #e2e8f0;
    color: #2563eb;
}

/* --- LOGIN / FORM AREA STYLES --- */
.Logo-login {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-icon-large {
    background: #2563eb;
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

h1 {
    margin: 10px;
    color: #0f172a;
}

.sub {
    color: #64748b;
}

.card {
    background: white;
    width: 450px;
    margin: 20px auto;
    padding: 50px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.card label {
    display: block;
    margin-top: 25px;
    font-weight: bold;
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
}

.card input, .card select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    transition: border-color 0.3s;
}

.card input:focus, .card select:focus {
    outline: none;
    border-color: #2563eb;
}

/* --- PERBAIKAN BAGIAN OPSI (INGAT SAYA) --- */
.opsi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

.opsi label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
    color: #475569;
    cursor: pointer;
}

.opsi input[type="checkbox"] {
    width: auto; /* Membatalkan lebar 100% pada checkbox */
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.opsi a {
    color: #2563eb;
    text-decoration: none;
}

.opsi a:hover {
    text-decoration: underline;
}

/* --- TOMBOL KOTAK BIRU OTOMATIS --- */
.card button {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.card button:hover {
    background: #1d4ed8;
}

.daftar {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #64748b;
}

.daftar a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.info {
    background: #eff6ff;
    width: 450px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    color: #1e3a8a;
}

.info h3 {
    margin-top: 0;
    font-size: 16px;
}

.info ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: min(100%, 420px);
    padding: 38px 32px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    animation: popIn 0.25s ease-out;
}

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 auto 20px auto;
}

.modal-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #0f172a;
}

.modal-card p {
    margin: 0 0 24px;
    color: #475569;
    line-height: 1.75;
}

.modal-card button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.modal-card button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}