/* =========================================
   1. GLOBAL & RESET
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #e0e5ec;
    min-height: 100vh;
    color: #3d4468;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; 
    line-height: 1.6;
}

/* =========================================
   2. SHARED NEUMORPHISM COMPONENTS
   ========================================= */

/* Icon Bulat Besar (Login) */
.neu-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #e0e5ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff, inset 0 0 0 #bec3cf, inset 0 0 0 #ffffff;
    transition: all 0.3s ease;
}

.neu-icon:hover {
    box-shadow: 4px 4px 10px #bec3cf, -4px -4px 10px #ffffff, inset 4px 4px 10px #bec3cf, inset -4px -4px 10px #ffffff;
}

/* Icon Bulat Kecil (Dashboard) */
.neu-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3d4468;
    box-shadow: 5px 5px 10px #bec3cf, -5px -5px 10px #ffffff;
}
.neu-icon-small svg { width: 20px; height: 20px; }

/* SVG Wrapper */
.icon-inner {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7293;
}
.icon-inner svg { width: 100%; height: 100%; }

/* Input Fields (Shared) */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.neu-input {
    position: relative;
    background: #e0e5ec;
    border-radius: 15px;
    box-shadow: inset 8px 8px 16px #bec3cf, inset -8px -8px 16px #ffffff;
    transition: all 0.3s ease;
}

.neu-input:focus-within {
    box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff;
}

.neu-input input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    padding-left: 55px;
    color: #6c7293;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.neu-input input::placeholder { color: transparent; }

.neu-input label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    color: #9499b7;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s ease;
}

.neu-input input:focus + label,
.neu-input input:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 12px;
    color: transparent;
    transform: translateY(0);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9499b7;
    transition: all 0.3s ease;
}
.neu-input:focus-within .input-icon { color: #6c7293; }

/* Password Toggle (Versi Asli/Standar) */
.password-group {
    padding-right: 50px;
}

.neu-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e5ec;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9499b7;
    box-shadow: 4px 4px 10px #bec3cf, -4px -4px 10px #ffffff;
    transition: all 0.3s ease;
}

.neu-toggle:hover { color: #6c7293; }

.neu-toggle:active {
    box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
}

.neu-toggle svg { width: 18px; height: 18px; }

.eye-closed { display: none; }
.neu-toggle.show-password .eye-open { display: none; }
.neu-toggle.show-password .eye-closed { display: block; }

/* Button Utama */
.neu-button {
    width: 100%;
    background: #e0e5ec;
    border: none;
    border-radius: 15px;
    padding: 18px 32px;
    color: #3d4468;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 8px 8px 20px #bec3cf, -8px -8px 20px #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.neu-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.neu-button:hover {
    transform: translateY(-2px);
    box-shadow: 12px 12px 30px #bec3cf, -12px -12px 30px #ffffff;
}
.neu-button:hover::before { left: 100%; }

.neu-button:active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 10px #bec3cf, inset -4px -4px 10px #ffffff;
}

/* =========================================
   3. LOGIN PAGE SPECIFIC
   ========================================= */
.login-container { width: 100%; max-width: 420px; }

.login-card {
    background: #e0e5ec;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 20px 20px 60px #bec3cf, -20px -20px 60px #ffffff;
    position: relative;
    transition: all 0.3s ease;
}
.login-card:hover { transform: translateY(-5px); }

.login-header { text-align: center; margin-bottom: 40px; }
.login-header h2 { color: #3d4468; font-size: 2rem; font-weight: 600; margin-bottom: 8px; }
.login-header p { color: #9499b7; font-size: 15px; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; flex-wrap: wrap; gap: 16px; }
.remember-wrapper { display: flex; align-items: center; cursor: pointer; }
.remember-wrapper input { display: none; }
.checkbox-label { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; color: #6c7293; font-size: 14px; font-weight: 500; }
.neu-checkbox {
    width: 22px; height: 22px; background: #e0e5ec; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 3px 3px 8px #bec3cf, -3px -3px 8px #ffffff; transition: all 0.3s ease;
}
.remember-wrapper input:checked + .checkbox-label .neu-checkbox {
    box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
}
.neu-checkbox svg { width: 14px; height: 14px; color: #00c896; opacity: 0; transform: scale(0); transition: all 0.3s ease; }
.remember-wrapper input:checked + .checkbox-label .neu-checkbox svg { opacity: 1; transform: scale(1); }

.forgot-link { color: #6c7293; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s ease; }
.forgot-link:hover { color: #3d4468; }

.divider { display: flex; align-items: center; margin: 30px 0; gap: 16px; }
.divider-line { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #bec3cf, transparent); }

.signup-link { text-align: center; }
.signup-link p { color: #9499b7; font-size: 14px; }
.signup-link a { color: #6c7293; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.signup-link a:hover { color: #3d4468; }

.error-message { color: #ff3b5c; font-size: 12px; font-weight: 500; margin-top: 8px; margin-left: 20px; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
.error-message.show { opacity: 1; transform: translateY(0); }
/*.form-group.error .neu-input { box-shadow: inset 8px 8px 16px #ffb8c4, inset -8px -8px 16px #ffffff, 0 0 0 2px #ff3b5c; }*/

.success-message { display: none; text-align: center; padding: 40px 20px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.success-message.show { display: block; opacity: 1; transform: translateY(0); }
.success-message .neu-icon { background: #e0e5ec; color: #00c896; margin-bottom: 20px; }
.success-message h3 { color: #3d4468; font-size: 1.5rem; margin-bottom: 8px; }
.success-message p { color: #9499b7; font-size: 14px; }

/* =========================================
   4. DASHBOARD PAGE SPECIFIC
   ========================================= */

.dashboard-container {
    display: flex;
    width: 100%;
    height: 100vh;
    padding: 20px;
    gap: 30px;
    max-width: 1600px;
}

/* --- TOMBOL HAMBURGER (Mobile Only) --- */
.hamburger-btn {
    display: none; /* Hidden di desktop */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001; /* Di atas sidebar */
    cursor: pointer;
    background: #e0e5ec;
    border: none;
}

/* --- SIDEBAR BARU --- */
.sidebar {
    width: 280px;
    background: #e0e5ec;
    border-radius: 30px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    /* Shadow tetap ada */
    box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5);
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

/* User Profile di Sidebar Header */
.sidebar-user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

/* Pastikan gambar profil tidak bocor keluar lingkaran */
.sidebar-user-profile .neu-icon {
    overflow: hidden; /* Memotong gambar yang berlebih */
    padding: 0; /* Hapus padding jika ada */
    display: flex;
    align-items: center;
    justify-content: center;
}


.sidebar-user-profile h3 {
    margin: 0;
    font-size: 18px; /* Sekitar 40% lebih besar dari email */
    font-weight: 700;
    color: #3d4468;
    margin-bottom: 2px;
}

.role-text {
    /* 1. Ukuran Font */
    /* Sekitar 13px, cukup jelas tapi tetap terlihat sebagai sub-judul */
    font-size: 15px !important; 
    
    /* 2. Warna & Ketebalan */
    color: #6c7293; /* Abu-abu soft */
    font-weight: 500;
    margin-top: 5px;
    
    /* 3. Penanganan Email Panjang (PENTING) */
    /* Jika email kepanjangan, akan otomatis dipotong jadi "..." */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Batasi lebar agar tidak melebar keluar sidebar */
    max-width: 220px; 
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Menu List */
.menu-list {
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.menu-list li {
    margin-bottom: 25px;
}

/* TOMBOL MENU (CONVEX STYLE) */
/* Sekarang bentuknya kotak timbul seperti logo user */
.neu-btn-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #6c7293;
    padding: 18px 25px; /* Lebih tebal */
    border-radius: 20px; /* Lebih bulat */
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    
    /* DEFAULT STATE: TIMBUL (SAMA SEPERTI LOGO) */
    background: #e0e5ec;
    box-shadow: 6px 6px 12px #bec3cf, -6px -6px 12px #ffffff;
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.menu-icon svg { width: 100%; height: 100%; stroke-width: 2; }
.neu-btn-link span { font-size: 1rem; font-weight: 600; }

/* HOVER STATE */
.neu-btn-link:hover {
    color: #3d4468;
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px #bec3cf, -8px -8px 16px #ffffff;
}

/* ACTIVE STATE (Pressed In / Cekung) */
/* Saat menu dipilih, dia akan cekung ke dalam */
.menu-list li.active .neu-btn-link {
    color: #3d4468 !important; /* Warna text jadi gelap */
    
    /* Efek Cekung (Inset Shadow) */
    box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff !important;
    
    transform: translateY(0) !important; /* Reset posisi */
    background: #e0e5ec; /* Pastikan background sama */
}

/* Ubah warna icon saat aktif juga */
.menu-list li.active .neu-btn-link .menu-icon {
    color: #3d4468;
}

/* Logout Button (Juga Timbul) */
.logout-btn {
    color: #ff4757;
    margin-top: auto;
}
.logout-btn:hover { color: #ff6b81; }


/* --- MAIN CONTENT --- */
.main-content {
    flex: 1;
    border-radius: 30px;
    padding: 20px 40px;
    overflow-y: auto;
    position: relative;
}

/* --- STATS CARD (Halaman Dashboard) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-card {
    background: #e0e5ec;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 8px 8px 16px #bec3cf, -8px -8px 16px #ffffff;
}

.stat-info h3 { font-size: 14px; color: #9499b7; margin: 0 0 5px 0; font-weight: 500; }
.stat-info h1 { font-size: 2.5rem; color: #3d4468; margin: 0; line-height: 1; }


/* --- TASK LIST STYLE (Halaman My Task) --- */
/* (Sama seperti sebelumnya) */
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 30px;}
.task-card { background: #e0e5ec; border-radius: 20px; padding: 30px; transition: transform 0.3s ease; box-shadow: 8px 8px 16px #bec3cf, -8px -8px 16px #ffffff; }
.task-card:hover { transform: translateY(-5px); }
.task-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.status-badge { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: bold; box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff; }
.status-todo { color: #f39c12; } .status-progress { color: #3498db; } .status-done { color: #2ecc71; }
.task-card h4 { margin: 0 0 10px 0; color: #3d4468; font-size: 1.2rem; font-weight: 600; }
.task-card p { color: #6c7293; font-size: 14px; margin: 0 0 25px 0; line-height: 1.6; }
.task-footer { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid rgba(190, 195, 207, 0.3); padding-top: 15px; }
.date { font-size: 13px; color: #9499b7; font-weight: 500; }


/* =========================================
   SCANNER UI FIX (FINAL VERSION)
   ========================================= */

/* 1. KOTAK PEMBUNGKUS UTAMA */
.scanner-wrapper {
    width: 100%;
    max-width: 350px; /* Batasi lebar di desktop */
    aspect-ratio: 1 / 1; /* WAJIB: Paksa rasio 1:1 (Kotak Persegi) */
    margin: 0 auto 20px auto; /* Posisi tengah */
    position: relative;
    border-radius: 25px;
    
    /* Neumorphism Cekung (Inset) */
    background: #e0e5ec;
    box-shadow: inset 5px 5px 10px #bec3cf, inset -5px -5px 10px #ffffff;
    
    padding: 10px; 
    overflow: hidden; /* Potong apapun yang keluar dari kotak */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 2. Memberi Jarak Hasil Scan */
#roomResult {
    margin-top: 50px; /* Jarak agar tidak menabrak judul/kamera */
    transition: all 0.3s ease;
}

/* 3. CUSTOM TOMBOL SCANNER BAWAAN (The Magic Part) */
/* Library scanner membuat tombol sendiri, kita paksa style-nya ganti */

#reader button {
    /* Style dasar tombol */
    display: inline-block;
    padding: 10px 20px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    
    /* Neumorphism Style */
    background: #e0e5ec !important;
    color: #3d4468 !important;
    border: none !important;
    border-radius: 50px !important; /* Dibuat lonjong */
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    
    /* Shadow Timbul */
    box-shadow: 5px 5px 10px #bec3cf, -5px -5px 10px #ffffff !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

/* Efek Hover Tombol Scanner */
#reader button:hover {
    transform: translateY(-2px);
    color: #3d4468 !important;
    box-shadow: 7px 7px 14px #bec3cf, -7px -7px 14px #ffffff !important;
}

/* Sembunyikan Link "Scan an Image File" yang mengganggu */
#reader a {
    display: none !important;
}

/* Hiasan Garis Hijau Scanner */
#reader__scan_region {
    background: transparent !important;
}

/* Styling ulang status teks kita sendiri di bawah kamera */
#scanStatus {
    color: #6c7293;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Pastikan kartu hasil juga center */
#roomResult {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;       /* Mengikuti lebar container scanner */
}
/* 2. CONTAINER PEMBERIAN LIBRARY */
#reader {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. MEMAKSA VIDEO MENGISI PENUH KOTAK */
#reader video {
    width: 100% !important;
    height: 100% !important;
    /* 'cover' memaksa video mengisi penuh kotak tanpa gepeng, 
       sisa video yang tidak muat akan terpotong (zoom effect) */
    object-fit: cover !important; 
    border-radius: 15px !important;
    display: block !important;
}

#reader__status_span {
    display: none !important;
}

#reader__dashboard_section_csr,
#reader__dashboard_section_swaplink {
    display: none !important;
}

#reader__dashboard_section {
    display: none !important; 
}

#scanStatus {
    color: #6c7293;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
}

/* =========================================
   CUSTOM DROPDOWN STYLE (NEUMORPHISM)
   ========================================= */

/* 1. Wrapper Utama (Kotak Cekung) */
.neu-select-wrapper {
    position: relative;
    width: 100%;
    background: #e0e5ec;
    border-radius: 15px;
    /* Shadow Cekung (Inset) - Persis seperti kolom input Login */
    box-shadow: inset 5px 5px 10px #bec3cf, inset -5px -5px 10px #ffffff;
    display: flex;
    align-items: center;
}

/* 2. Elemen Select Asli (Dibuat Transparan & Full Width) */
.neu-select-wrapper select {
    width: 100%;
    height: 50px; /* Tinggi tombol agar nyaman disentuh */
    background: transparent; /* Background tembus pandang ke wrapper */
    border: none;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #3d4468;
    cursor: pointer;
    outline: none;
    
    /* HILANGKAN Panah Bawaan Browser (Penting!) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 10; /* Agar berada di atas icon panah custom */
}

/* 3. Icon Panah Custom */
.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6c7293;
    pointer-events: none; /* Agar klik tembus ke select di bawahnya */
    z-index: 1;
}

.select-arrow svg {
    width: 100%;
    height: 100%;
}

/* 4. Style saat Dropdown dibuka (Focus) */
.neu-select-wrapper:focus-within {
    /* Sedikit efek highlight saat diklik */
    box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff;
}

/* Warna pilihan opsi (Hanya jalan di Windows/Desktop tertentu) */
.neu-select-wrapper select option {
    background-color: #e0e5ec;
    color: #3d4468;
    padding: 10px;
}


/* =========================================
   MOBILE RESPONSIVE (SLIDING MENU)
   ========================================= */
.mobile-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2); z-index: 999;
    backdrop-filter: blur(2px);
}

@media (max-width: 900px) {
    .dashboard-container { 
        padding: 10px; 
        padding-top: 70px; /* Space untuk tombol hamburger */
    }
    
    .hamburger-btn { display: flex; align-items: center; justify-content: center; } /* Munculkan tombol */

    .sidebar {
        position: fixed;
        top: 0;
        left: -320px; /* Sembunyikan ke kiri layar */
        height: 100%;
        width: 280px;
        z-index: 1000;
    }

    /* Class untuk membuka sidebar via JS */
    .sidebar.active {
        transform: translateX(320px);
    }
    
    .mobile-overlay.active { display: block; }

    .main-content { padding: 20px; }
}

/* =========================================
   NEUMORPHISM TABLE STYLE
   ========================================= */

.table-container {
    overflow-x: auto; /* Scroll horizontal jika layar kecil */
    padding: 20px;
    border-radius: 20px;
    background: #e0e5ec;
    box-shadow: inset 5px 5px 10px #bec3cf, inset -5px -5px 10px #ffffff;
}

.neu-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Agar tidak hancur di HP */
}

.neu-table th {
    text-align: left;
    padding: 15px;
    color: #3d4468;
    font-weight: 700;
    border-bottom: 2px solid rgba(163,177,198, 0.3);
}

.neu-table td {
    padding: 15px;
    color: #6c7293;
    font-size: 14px;
    border-bottom: 1px solid rgba(163,177,198, 0.2);
}

.neu-table tr:last-child td {
    border-bottom: none;
}

/* Status Badge Kecil di Tabel */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
.dot-active { background-color: #2ecc71; box-shadow: 0 0 5px #2ecc71; }
.dot-incidents { background-color: #ff4757; box-shadow: 0 0 5px #ff4757; }

/* =========================================
   FORM NEUMORPHISM STYLES
   ========================================= */

.form-container {
    padding: 40px;
    max-width: 700px; /* Agar form tidak terlalu lebar */
    margin: 0 auto; /* Tengah */
}

/* -- CUSTOM CHECKBOX STYLE -- */
.neu-checkbox-item {
    display: flex;
    align-items: flex-start; /* Align top */
    gap: 20px;
    margin-bottom: 25px;
    cursor: pointer;
    user-select: none;
}

/* Sembunyikan checkbox asli browser */
.neu-checkbox-item input {
    display: none;
}

/* Kotak Centang (Neumorphism Box) */
.checkmark-box {
    width: 28px;
    height: 28px;
    background: #e0e5ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Shadow Timbul (Unchecked) */
    box-shadow: 5px 5px 10px #bec3cf, -5px -5px 10px #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0; /* Agar tidak gepeng */
}

/* Icon Centang (Awalnya hilang) */
.checkmark-box svg {
    width: 18px;
    height: 18px;
    color: #2ecc71;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* -- STATE CHECKED -- */
/* Saat dicentang, kotak jadi cekung (pressed) dan icon muncul */
.neu-checkbox-item input:checked + .checkmark-box {
    box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff;
}

.neu-checkbox-item input:checked + .checkmark-box svg {
    opacity: 1;
    transform: scale(1);
}

/* Teks Checkbox */
.checkbox-text strong {
    color: #3d4468;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.checkbox-text p {
    color: #6c7293;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* -- GAMBAR REFERENSI -- */
.form-image-ref {
    text-align: center;
    margin: 30px 0;
}

.form-image-ref img {
    max-width: 100%;
    width: 250px;
    border-radius: 15px;
    /* Frame Timbul */
    padding: 10px;
    background: #e0e5ec;
    box-shadow: 8px 8px 16px #bec3cf, -8px -8px 16px #ffffff;
}

.form-image-ref p {
    margin-top: 15px;
    font-style: italic;
    color: #6c7293;
    font-size: 14px;
}

/* -- TOMBOL CAPTURE -- */
.capture-btn {
    justify-content: center;
    background: #e0e5ec;
    color: #3d4468;
    font-weight: 600;
}
.capture-btn:active {
    color: #2ecc71; /* Text jadi hijau saat ditekan */
}

/* Mobile Fix */
@media (max-width: 600px) {
    .form-container { padding: 25px; }
    .checkbox-text p { font-size: 12px; }
}

