/* Styling based on MENSET Design - BLUE 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;
    background-color: #1976d2;
    
    /* Layer 1: Ombak Transparan, Layer 2: Gradasi Biru Cerah ke Tua */
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgba(255, 255, 255, 0.15)' d='M0,160L80,144C160,128,320,96,480,112C640,128,800,192,960,192C1120,192,1280,128,1360,96L1440,64L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'/%3E%3Cpath fill='rgba(255, 255, 255, 0.05)' d='M0,256L80,240C160,224,320,192,480,186.7C640,181,800,203,960,208C1120,213,1280,203,1360,197.3L1440,192L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'/%3E%3C/svg%3E"),
        linear-gradient(140deg, #00A8FF 0%, #0066FF 100%);
        
    /* KUNCI: Lebarkan ombak 300% dan tarik tingginya ke 45% layar agar menembus kartu putih! */
    background-size: 280% 30%, cover;
    background-position: top left, center;
    background-repeat: no-repeat, no-repeat;
}

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

/* Header Info (Logo & Teks di atas background Biru) */
.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: #1976d2; /* Border Biru saat fokus */
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.15); /* Glow Biru */
}

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

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

.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: #1976d2;
}

/* 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 Biru */
.checkbox-input:checked + .checkbox-custom {
    background-color: #1976d2; 
}

.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: #1976d2; /* Link Lupa Password jadi Biru */
}

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

.btn-primary {
    /* Gradient Biru pada tombol */
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 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(25, 118, 210, 0.3); /* Bayangan Biru */
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4); /* Bayangan Biru Hover */
}

.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;
}