/* ================================================================
   THEMES.CSS — Shared Theme System untuk E-Verif
   Dipakai oleh: login.html, index.html, admin.html
   Tema: Light (Aurora) | Dark (Midnight Neon) | Soft (Warm Minimal)
   Extracted: 27 Mei 2026 — Revisi #3
   ================================================================ */

/* ===== BODY TRANSITION (Smooth Theme Switch) ===== */
body {
    transition: background 0.6s ease, color 0.4s ease;
}

/* ===================================================
   SECTION 1: SHARED CORE — Berlaku di Semua Halaman
   =================================================== */

/* ----- DARK MODE (Midnight Neon) — Core ----- */
body[data-theme="dark"] {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1628 100%) !important;
    color: #e2e8f0 !important;
    animation: none;
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .table-responsive,
body[data-theme="dark"] .ternak-box,
body[data-theme="dark"] .modal-content {
    background: rgba(15, 15, 35, 0.75) !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 255, 0.03);
}

body[data-theme="dark"] .card::before {
    background: linear-gradient(90deg, #00f5ff, #b44aff, #00f5ff);
    background-size: 200% 100%;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}

body[data-theme="dark"] .bg-custom {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.08) 0%, rgba(180, 74, 255, 0.08) 100%) !important;
    color: #e2e8f0 !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
}

body[data-theme="dark"] .bg-white,
body[data-theme="dark"] .bg-light {
    background-color: rgba(15, 15, 35, 0.5) !important;
    color: #e2e8f0 !important;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] .form-control,
body[data-theme="dark"] .form-select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #e2e8f0 !important;
    border-color: rgba(0, 245, 255, 0.15) !important;
}

body[data-theme="dark"] select option {
    background-color: #111827;
    color: #e2e8f0;
}

body[data-theme="dark"] select option:checked {
    background-color: #2563eb;
    color: #ffffff;
}

body[data-theme="dark"] select option:disabled {
    color: #94a3b8;
}

body[data-theme="dark"] .form-control:focus,
body[data-theme="dark"] .form-select:focus {
    border-color: #00f5ff !important;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.2), 0 0 15px rgba(0, 245, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body[data-theme="dark"] .table {
    --bs-table-bg: transparent;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: rgba(0, 245, 255, 0.05);
    --bs-table-hover-bg: rgba(0, 245, 255, 0.03);
}

body[data-theme="dark"] .table th {
    background-color: rgba(0, 245, 255, 0.05) !important;
    color: rgba(0, 245, 255, 0.8) !important;
    border-bottom: 2px solid rgba(0, 245, 255, 0.1) !important;
}

body[data-theme="dark"] .table td {
    border-bottom: 1px solid rgba(0, 245, 255, 0.05);
}

body[data-theme="dark"] .table-hover tbody tr:hover td {
    background-color: rgba(0, 245, 255, 0.03) !important;
}

body[data-theme="dark"] [style*="color:#2b3a4a"],
body[data-theme="dark"] [style*="color: #2b3a4a"] {
    color: #e2e8f0 !important;
}

body[data-theme="dark"] [style*="rgba(255,255,255,"],
body[data-theme="dark"] [style*="rgba(255, 255, 255,"] {
    background-color: rgba(15, 15, 35, 0.6) !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
}

body[data-theme="dark"] .text-muted,
body[data-theme="dark"] .text-dark {
    color: #94a3b8 !important;
}

body[data-theme="dark"] .form-label,
body[data-theme="dark"] .form-check-label {
    color: #e2e8f0 !important;
}

body[data-theme="dark"] ::placeholder {
    color: rgba(0, 245, 255, 0.4) !important;
    opacity: 1;
}

body[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
}

body[data-theme="dark"] .btn-custom {
    background: linear-gradient(135deg, #00f5ff 0%, #b44aff 100%) !important;
    color: #0a0a1a !important;
    border: none !important;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

body[data-theme="dark"] .btn-custom:hover {
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.5), 0 0 20px rgba(180, 74, 255, 0.3) !important;
}

body[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #00f5ff 0%, #b44aff 100%) !important;
    border: none !important;
    color: #0a0a1a !important;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

body[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.5) !important;
}

/* Dark Modal */
body[data-theme="dark"] .modal-content {
    background: rgba(15, 15, 35, 0.95) !important;
    border: 1px solid rgba(0, 245, 255, 0.15) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 255, 0.05);
}

body[data-theme="dark"] .modal-body,
body[data-theme="dark"] .modal-footer {
    background: transparent;
    color: #e2e8f0;
}

/* ----- SOFT MODE (Warm Minimal) — Core ----- */
body[data-theme="soft"] {
    background: linear-gradient(135deg, #fdf6e3 0%, #fef0d4 50%, #fde8d0 100%) !important;
    color: #3d2c1e !important;
    animation: none;
}

body[data-theme="soft"] .card,
body[data-theme="soft"] .table-responsive,
body[data-theme="soft"] .ternak-box,
body[data-theme="soft"] .modal-content {
    background: rgba(253, 246, 227, 0.85) !important;
    border-color: rgba(212, 165, 116, 0.2) !important;
    box-shadow: 8px 8px 24px rgba(180, 140, 100, 0.1), -4px -4px 12px rgba(255, 255, 255, 0.7);
}

body[data-theme="soft"] .card::before {
    background: linear-gradient(90deg, #c75b39, #d4a574, #c75b39);
    background-size: 200% 100%;
    height: 4px;
}

body[data-theme="soft"] .bg-custom {
    background: linear-gradient(135deg, #5c4b37 0%, #7a6350 100%) !important;
    color: #fdf6e3 !important;
    border-color: rgba(212, 165, 116, 0.3) !important;
}

body[data-theme="soft"] .bg-white,
body[data-theme="soft"] .bg-light {
    background-color: rgba(253, 246, 227, 0.6) !important;
    color: #3d2c1e !important;
}

body[data-theme="soft"] input,
body[data-theme="soft"] select,
body[data-theme="soft"] .form-control,
body[data-theme="soft"] .form-select {
    background-color: rgba(253, 246, 227, 0.7) !important;
    color: #3d2c1e !important;
    border-color: rgba(212, 165, 116, 0.3) !important;
    box-shadow: inset 2px 2px 4px rgba(180, 140, 100, 0.06);
}

body[data-theme="soft"] .form-control:focus,
body[data-theme="soft"] .form-select:focus {
    border-color: #c75b39 !important;
    box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.15), inset 2px 2px 4px rgba(180, 140, 100, 0.05) !important;
}

body[data-theme="soft"] .table th {
    background-color: rgba(216, 195, 165, 0.3) !important;
    color: #5c4b37 !important;
    border-bottom: 2px solid rgba(212, 165, 116, 0.3) !important;
}

body[data-theme="soft"] [style*="color:#2b3a4a"],
body[data-theme="soft"] [style*="color: #2b3a4a"] {
    color: #3d2c1e !important;
}

body[data-theme="soft"] [style*="rgba(255,255,255,"],
body[data-theme="soft"] [style*="rgba(255, 255, 255,"] {
    background-color: rgba(253, 246, 227, 0.7) !important;
}

body[data-theme="soft"] .text-muted,
body[data-theme="soft"] .text-dark {
    color: #7a6350 !important;
}

body[data-theme="soft"] .form-label {
    color: #7a6350 !important;
}

body[data-theme="soft"] .btn-custom {
    background: linear-gradient(135deg, #c75b39 0%, #d4a574 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(199, 91, 57, 0.25);
}

body[data-theme="soft"] .btn-custom:hover {
    background: linear-gradient(135deg, #b5502f 0%, #c99a68 100%) !important;
    box-shadow: 0 8px 25px rgba(199, 91, 57, 0.35);
}

body[data-theme="soft"] .btn-primary {
    background: linear-gradient(135deg, #c75b39 0%, #d4a574 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(199, 91, 57, 0.25);
}

body[data-theme="soft"] .btn-primary:hover {
    background: linear-gradient(135deg, #b5502f 0%, #c99a68 100%) !important;
    box-shadow: 0 8px 25px rgba(199, 91, 57, 0.35);
}

body[data-theme="soft"] ::placeholder {
    color: rgba(92, 75, 55, 0.5) !important;
}

/* Soft Modal */
body[data-theme="soft"] .modal-content {
    background: rgba(253, 246, 227, 0.98) !important;
    border: 1px solid rgba(212, 165, 116, 0.3) !important;
}

/* ----- SCROLLBAR (All Themes) ----- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.5); }
body[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(0, 245, 255, 0.3); }
body[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(0, 245, 255, 0.5); }
body[data-theme="soft"] ::-webkit-scrollbar-thumb { background: rgba(199, 91, 57, 0.3); }
body[data-theme="soft"] ::-webkit-scrollbar-thumb:hover { background: rgba(199, 91, 57, 0.5); }

/* ----- MODAL BASE ENHANCEMENT ----- */
.modal-content {
    border-radius: 20px !important;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}


/* ===================================================
   SECTION 2: LOGIN.HTML — Tema Khusus Halaman Login
   =================================================== */

/* Login - Theme Toggle (Fixed Button) */
.theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Login - Dark ::before/::after effects */
body[data-theme="dark"]::before {
    background: radial-gradient(circle at 30% 20%, rgba(0, 245, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(180, 74, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(0, 245, 255, 0.02) 0%, transparent 60%);
    animation: none;
}

body[data-theme="dark"]::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 20% 90%, rgba(0,245,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 30%, rgba(180,74,255,0.5) 0%, transparent 100%);
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

body[data-theme="soft"]::before {
    background: radial-gradient(circle at 30% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(199, 91, 57, 0.05) 0%, transparent 50%);
    animation: none;
}

body[data-theme="soft"]::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Login - Dark Card/Header/Footer */
body[data-theme="dark"] .login-card {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(0, 245, 255, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .login-card::before {
    background: linear-gradient(90deg, #00f5ff, #b44aff, #00f5ff);
    background-size: 200% 100%;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

body[data-theme="dark"] .card-header {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(180, 74, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

body[data-theme="dark"] .card-header h4 {
    background: linear-gradient(135deg, #00f5ff, #b44aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

body[data-theme="dark"] .card-footer {
    background: rgba(10, 10, 30, 0.6);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
}

body[data-theme="dark"] .theme-toggle {
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
}

body[data-theme="dark"] .alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Login - Soft Card/Header/Footer */
body[data-theme="soft"] .login-card {
    background: rgba(253, 246, 227, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 8px 8px 24px rgba(180, 140, 100, 0.12), 
                -4px -4px 12px rgba(255, 255, 255, 0.8);
    border-radius: 28px;
}

body[data-theme="soft"] .login-card::before {
    background: linear-gradient(90deg, #c75b39, #d4a574, #c75b39);
    background-size: 200% 100%;
    height: 4px;
    border-radius: 4px 4px 0 0;
}

body[data-theme="soft"] .card-header {
    background: linear-gradient(135deg, #5c4b37 0%, #7a6350 100%);
}

body[data-theme="soft"] .card-header h4 {
    color: #fdf6e3;
    text-shadow: none;
}

body[data-theme="soft"] .card-footer {
    background: rgba(216, 195, 165, 0.3);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

body[data-theme="soft"] .theme-toggle {
    background: rgba(253, 246, 227, 0.9);
    border: 1px solid rgba(212, 165, 116, 0.3);
    box-shadow: 4px 4px 12px rgba(180, 140, 100, 0.15);
}

body[data-theme="soft"] .alert-danger {
    background: rgba(199, 91, 57, 0.1);
    border-color: rgba(199, 91, 57, 0.3);
    color: #b5502f;
}


/* ===================================================
   SECTION 3: INDEX.HTML — Tema Khusus Halaman Petugas
   =================================================== */

/* Index - SyncProgress */
body[data-theme="dark"] #syncProgress {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
body[data-theme="soft"] #syncProgress {
    background: rgba(253, 246, 227, 0.9);
    border-color: rgba(201, 180, 148, 0.6);
    box-shadow: 0 10px 40px rgba(92, 75, 55, 0.1);
}

/* Index - Foto Cards */
body[data-theme="dark"] .foto-card {
    background: rgba(15, 15, 35, 0.5);
    border-color: rgba(0, 245, 255, 0.15);
}
body[data-theme="dark"] .foto-card:hover {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.03);
}

/* Index - Badge dark/soft */
body[data-theme="dark"] .badge.bg-success {
    background: rgba(0, 245, 255, 0.15) !important;
    color: #00f5ff !important;
    border: 1px solid rgba(0, 245, 255, 0.3);
}
body[data-theme="dark"] .badge.bg-warning {
    background: rgba(180, 74, 255, 0.15) !important;
    color: #b44aff !important;
    border: 1px solid rgba(180, 74, 255, 0.3);
}

/* Index - Card Program (Gayatri/PDKT) */
body[data-theme="dark"] .card-gayatri {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(0, 245, 255, 0.05) 100%) !important;
    color: #00f5ff !important;
    border: 1px solid rgba(0, 245, 255, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.1) !important;
}
body[data-theme="dark"] .card-pdkt {
    background: linear-gradient(135deg, rgba(180, 74, 255, 0.15) 0%, rgba(180, 74, 255, 0.05) 100%) !important;
    color: #b44aff !important;
    border: 1px solid rgba(180, 74, 255, 0.2) !important;
    box-shadow: 0 8px 25px rgba(180, 74, 255, 0.1) !important;
}
body[data-theme="soft"] .card-gayatri {
    background: linear-gradient(135deg, #fce4c4 0%, #f8d4a8 100%) !important;
    color: #8b5e2b !important;
    border: 1px solid rgba(212, 165, 116, 0.3) !important;
    box-shadow: 6px 6px 16px rgba(180, 140, 100, 0.12) !important;
}
body[data-theme="soft"] .card-pdkt {
    background: linear-gradient(135deg, #e8f0d8 0%, #d4e6c3 100%) !important;
    color: #3d5c1e !important;
    border: 1px solid rgba(160, 190, 120, 0.3) !important;
    box-shadow: 6px 6px 16px rgba(140, 160, 100, 0.12) !important;
}

/* Index - Footer */
body[data-theme="dark"] footer {
    background: rgba(15, 15, 35, 0.8) !important;
    border-top: 1px solid rgba(0, 245, 255, 0.1) !important;
    color: #94a3b8 !important;
}
body[data-theme="soft"] footer {
    background: rgba(253, 246, 227, 0.8) !important;
    border-top: 1px solid rgba(212, 165, 116, 0.2) !important;
    color: #7a6350 !important;
}

/* Index - Theme Toggle (#btnThemeToggle) */
#btnThemeToggle {
    border-radius: 50px !important;
    padding: 0.4rem 1rem !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
#btnThemeToggle:hover {
    transform: scale(1.05) rotate(5deg);
}
body[data-theme="dark"] #btnThemeToggle {
    background: rgba(0, 245, 255, 0.1) !important;
    border-color: rgba(0, 245, 255, 0.3) !important;
    color: #00f5ff !important;
}
body[data-theme="soft"] #btnThemeToggle {
    background: rgba(199, 91, 57, 0.1) !important;
    border-color: rgba(199, 91, 57, 0.3) !important;
    color: #c75b39 !important;
}

/* Index - Badge Pulse Animation */
body[data-theme="dark"] .badge.bg-success {
    animation: pulseBadgeDark 2s ease-in-out infinite;
}
@keyframes pulseBadgeDark {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(0, 245, 255, 0); }
}

/* Index - Progress Modal dark */
body[data-theme="dark"] .progress-modal .modal-content,
body[data-theme="dark"] .progress-stat,
body[data-theme="dark"] .progress-chart-wrap {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.18);
}


/* ===================================================
   SECTION 4: ADMIN.HTML — Tema Khusus Halaman Admin
   =================================================== */

/* Admin - Tab Content dark/soft */
body[data-theme="dark"] .tab-content {
    background: rgba(15, 15, 35, 0.8) !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.08);
    border-top: none;
}
body[data-theme="soft"] .tab-content {
    background: rgba(253, 246, 227, 0.85) !important;
    border-color: rgba(212, 165, 116, 0.2) !important;
    box-shadow: 8px 8px 24px rgba(180, 140, 100, 0.08), -4px -4px 12px rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-top: none;
}

/* Admin - Arsip Rows dark/soft */
body[data-theme="dark"] .tbody-arsip tr td {
    background-color: rgba(180, 74, 255, 0.05) !important;
    border-left: 3px solid #b44aff !important;
}
body[data-theme="dark"] .tbody-arsip tr:hover td {
    background-color: rgba(180, 74, 255, 0.1) !important;
}
body[data-theme="soft"] .tbody-arsip tr td {
    background-color: #f5edd8 !important;
    border-left: 3px solid #c75b39 !important;
}
body[data-theme="soft"] .tbody-arsip tr:hover td {
    background-color: #efe4c8 !important;
}

/* Admin - Admin Hero + Filter Panel */
body[data-theme="dark"] .admin-hero,
body[data-theme="dark"] .filter-panel {
    background: rgba(15, 15, 35, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 255, 0.03);
}
body[data-theme="dark"] .admin-hero::before {
    background: linear-gradient(90deg, #00f5ff, #b44aff, #00f5ff);
    background-size: 200% 100%;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}
body[data-theme="soft"] .admin-hero,
body[data-theme="soft"] .filter-panel {
    background: rgba(253, 246, 227, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border-color: rgba(212, 165, 116, 0.2) !important;
    box-shadow: 8px 8px 24px rgba(180, 140, 100, 0.1), -4px -4px 12px rgba(255, 255, 255, 0.7);
}
body[data-theme="soft"] .admin-hero::before {
    background: linear-gradient(90deg, #c75b39, #d4a574, #c75b39);
    background-size: 200% 100%;
    height: 4px;
}

/* Admin - Admin Title */
body[data-theme="dark"] .admin-title {
    background: linear-gradient(135deg, #00f5ff, #b44aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Admin - Admin Tabs */
body[data-theme="dark"] .admin-tabs .nav-link {
    background: rgba(15, 15, 35, 0.6) !important;
    color: rgba(226, 232, 240, 0.7) !important;
    border: 1px solid rgba(0, 245, 255, 0.08);
    border-bottom: 0;
    backdrop-filter: blur(10px);
}
body[data-theme="dark"] .admin-tabs .nav-link:hover {
    background: rgba(0, 245, 255, 0.05) !important;
    color: #00f5ff !important;
}
body[data-theme="dark"] .admin-tabs .nav-link.active {
    background: rgba(15, 15, 35, 0.95) !important;
    border-color: rgba(0, 245, 255, 0.2) !important;
    border-bottom: 2px solid #00f5ff;
    color: #00f5ff !important;
}
body[data-theme="soft"] .admin-tabs .nav-link {
    background: rgba(244, 234, 214, 0.7) !important;
    color: #7a6350 !important;
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-bottom: 0;
}
body[data-theme="soft"] .admin-tabs .nav-link:hover {
    background: rgba(234, 218, 189, 0.8) !important;
    color: #c75b39 !important;
}
body[data-theme="soft"] .admin-tabs .nav-link.active {
    background: rgba(253, 246, 227, 0.95) !important;
    color: #3d2c1e !important;
    border-color: rgba(212, 165, 116, 0.3) !important;
    border-bottom: 2px solid #c75b39;
}

/* Admin - Dark additional selectors */
body[data-theme="dark"] strong[style*="color:#0d6efd"],
body[data-theme="dark"] strong[style*="color: #0d6efd"] {
    color: #00f5ff !important;
}

body[data-theme="dark"] .table-hover tbody tr:hover td,
body[data-theme="dark"] .table-hover tbody tr:hover th {
    color: #fff !important;
    background-color: rgba(0, 245, 255, 0.05) !important;
}

body[data-theme="dark"] td {
    color: #e2e8f0 !important;
}

body[data-theme="dark"] .btn-outline-dark {
    color: #00f5ff !important;
    border-color: rgba(0, 245, 255, 0.3) !important;
}
body[data-theme="dark"] .btn-outline-dark:hover {
    background-color: rgba(0, 245, 255, 0.1) !important;
    color: #00f5ff !important;
    border-color: #00f5ff !important;
}

body[data-theme="dark"] .filter-panel label {
    color: rgba(0, 245, 255, 0.7) !important;
}
body[data-theme="dark"] .filter-panel .form-control,
body[data-theme="dark"] .filter-panel .form-select {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(0, 245, 255, 0.15) !important;
}
body[data-theme="soft"] .filter-panel label {
    color: #7a6350 !important;
}

/* Admin - Toast */
body[data-theme="dark"] .toast {
    background: rgba(15, 15, 35, 0.9) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(0, 245, 255, 0.1) !important;
}

/* Admin - Table Highlight Animation */
.table-highlight {
    animation: highlightFade 3s ease-out;
}
@keyframes highlightFade {
    0%   { background-color: #d4edda !important; }
    70%  { background-color: #d4edda !important; }
    100% { background-color: transparent !important; }
}
body[data-theme="dark"] .table-highlight {
    animation: highlightFadeDark 3s ease-out;
}
@keyframes highlightFadeDark {
    0%   { background-color: rgba(0, 245, 255, 0.15) !important; }
    70%  { background-color: rgba(0, 245, 255, 0.15) !important; }
    100% { background-color: transparent !important; }
}
body[data-theme="soft"] .table-highlight {
    animation: highlightFadeSoft 3s ease-out;
}
@keyframes highlightFadeSoft {
    0%   { background-color: rgba(199, 91, 57, 0.15) !important; }
    70%  { background-color: rgba(199, 91, 57, 0.15) !important; }
    100% { background-color: transparent !important; }
}

/* Admin - DataTables dark */
body[data-theme="dark"] .dataTables_wrapper .dataTables_info,
body[data-theme="dark"] .dataTables_wrapper .dataTables_length label,
body[data-theme="dark"] .dataTables_wrapper .dataTables_filter label {
    color: #94a3b8 !important;
}
body[data-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #e2e8f0 !important;
    border-color: rgba(0, 245, 255, 0.1) !important;
}
body[data-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #00f5ff, #b44aff) !important;
    color: #0a0a1a !important;
    border: none !important;
}

/* Admin - Target Manager */
body[data-theme="dark"] .target-kec-row td {
    background-color: rgba(15, 15, 35, 0.7) !important;
    color: #e2e8f0 !important;
}
body[data-theme="dark"] .target-kec-row:hover td {
    background-color: rgba(0, 245, 255, 0.12) !important;
}
body[data-theme="dark"] .target-kec-row:hover > * {
    --bs-table-bg-state: rgba(0, 245, 255, 0.12) !important;
    background-color: rgba(0, 245, 255, 0.12) !important;
}
body[data-theme="dark"] .target-kec-row:hover {
    background-color: transparent !important;
}
body[data-theme="dark"] #content-target .text-primary {
    color: #00f5ff !important;
}
body[data-theme="dark"] #content-target .fw-bold.text-primary {
    color: #00f5ff !important;
}
body[data-theme="dark"] #content-target .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
}
body[data-theme="dark"] #content-target .bg-white {
    background-color: rgba(15, 15, 35, 0.8) !important;
    color: #e2e8f0 !important;
}
body[data-theme="dark"] #content-target .border-bottom {
    border-color: rgba(0, 245, 255, 0.1) !important;
}
body[data-theme="dark"] #content-target input.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
    border-color: rgba(0, 245, 255, 0.15) !important;
}
body[data-theme="dark"] #content-target .fw-semibold {
    color: #e2e8f0 !important;
}
body[data-theme="dark"] #content-target .text-muted {
    color: #94a3b8 !important;
}
body[data-theme="dark"] #content-target .btn-outline-primary {
    color: #00f5ff !important;
    border-color: rgba(0, 245, 255, 0.3) !important;
}
body[data-theme="dark"] #content-target .btn-outline-primary:hover {
    background-color: rgba(0, 245, 255, 0.1) !important;
    color: #00f5ff !important;
    border-color: #00f5ff !important;
}
body[data-theme="dark"] #content-target .collapse .table thead th {
    background-color: rgba(0, 245, 255, 0.05) !important;
    color: #00f5ff !important;
}
body[data-theme="dark"] #content-target .table-hover tbody tr:hover td {
    background-color: rgba(0, 245, 255, 0.08) !important;
    color: #e2e8f0 !important;
}
body[data-theme="dark"] #content-target .table-hover tbody tr:hover {
    background-color: rgba(0, 245, 255, 0.08) !important;
}
