/* Styling based on MENSET Design - GOLD EDITION */
body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Mencegah scroll double */
    box-sizing: border-box;
    font-family: "SF Pro Display", "Inter", sans-serif;
    background-color: #f8f8f8; /* Background bawah abu sangat muda */
}

.background {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    /* --- UPDATE: GRADIENT EMAS --- */
    /* Gradasi dari Emas Gelap (#B78628) ke Emas Terang/Kuning (#FCC201) */
    /* Dibuat diagonal (135deg) agar lebih dinamis */
    background: linear-gradient(135deg, #B78628 0%, #D4A33C 40%, #FCC201 100%);
    background-size: 100% 55%; /* Tinggi background warna hanya 55% layar */
    background-repeat: no-repeat;
    background-position: top;
}

.container-sm {
    padding-left: 0;
    padding-right: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Info (Logo & Teks di atas background Emas) */
.header {
    display: flex;
    align-items: center;
    column-gap: 16px;
    padding: 60px 24px 35px 24px;
    flex-shrink: 0;
}

.header img {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2); /* Semi transparan putih */
    padding: 6px;
    backdrop-filter: blur(5px); /* Efek kaca */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.header .header-information {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.header .header-information h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .header-information p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    max-width: 260px;
}

/* Card Putih (Main Content) */
.card {
    background-color: #ffffff;
    height: 100%; /* Full height ke bawah */
    border-radius: 30px 30px 0 0; /* Lengkungan atas lebih halus */
    border: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1); /* Bayangan naik ke atas */
}

.card .card-header {
    background: transparent;
    border-bottom: 0;
    padding: 32px 24px 0 24px;
    margin-bottom: 24px;
}

.card .card-header div {
    font-weight: 700;
    font-size: 22px;
    color: #1F2937;
    letter-spacing: -0.5px;
}

.card .card-body {
    padding: 0 24px 40px 24px;
    display: flex;
    flex-direction: column;
    row-gap: 18px;
}

/* Input Fields */
.field-group {
    height: 54px;
    background-color: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 14px; /* Rounded lebih besar */
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 12px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.field-group:focus-within {
    background-color: #ffffff;
    border-color: #D4A33C; /* Border Emas saat fokus */
    box-shadow: 0 0 0 4px rgba(212, 163, 60, 0.15); /* Glow Emas */
}

.field-group img, .field-group svg {
    opacity: 0.4;
    color: #6B7280;
}

/* Ubah warna icon menjadi emas saat fokus */
.field-group:focus-within img, 
.field-group:focus-within svg {
    opacity: 1;
    color: #D4A33C;
}

.field-group input {
    border: none;
    font-size: 15px;
    font-weight: 500;
    background-color: transparent;
    width: 100%;
    color: #1F2937;
    outline: none;
}

.field-group input::placeholder {
    color: #9CA3AF;
}

.field-group .btn-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #9CA3AF;
    white-space: nowrap;
    transition: color 0.2s;
}

.field-group .btn-link:hover {
    color: #D4A33C;
}

/* Checkbox & Options */
.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    column-gap: 8px;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #E5E7EB;
    border-radius: 6px;
    transition: all 0.2s;
}

/* Warna Checkbox aktif jadi Emas */
.checkbox-input:checked + .checkbox-custom {
    background-color: #D4A33C; 
}

.checkmark {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
}

.checkbox-input:checked + .checkbox-custom .checkmark {
    opacity: 1;
}

.label-text {
    font-size: 13px;
    color: #4B5563;
    font-weight: 500;
}

.feature-container .btn-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #D4A33C; /* Link Lupa Password jadi Emas */
}

/* Button Action */
.action-container {
    margin-top: 32px;
}

.btn-primary {
    /* Gradient Emas pada tombol */
    background: linear-gradient(90deg, #C79D3D 0%, #EAB308 100%);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    width: 100%;
    height: 52px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(212, 163, 60, 0.3); /* Bayangan Emas */
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 163, 60, 0.4);
}

.btn-primary:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.error-container {
    background-color: #FFF5F5;
    color: #E53E3E;
    border: 1px solid #FED7D7;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    display: none;
    font-weight: 500;
}