/* ======================================================= */
/* === THEME: NEO-FORENSIC GLASS (Electric & Glossy) ===== */
/* ======================================================= */

/* 1. BASE & TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');

body {
    background-color: #02040a; /* Deep Space Black */
    font-family: 'Rajdhani', sans-serif; /* Font Teknis tapi mudah dibaca */
    color: #e0f7ff;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(102, 16, 242, 0.08) 0%, transparent 25%);
}

/* Font Judul Futuristik */
h1, h2, h3, h4, h5, h6, .navbar-brand, .menu-title, .stat-num {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 2. GLASSMORPHISM CARDS (Kaca Glossy) */
.card, .card-glass, .monitor-container, .menu-card, .modal-content, .sidebar, .filter-toolbar {
    background: rgba(12, 20, 35, 0.75) !important; /* Transparan Gelap */
    backdrop-filter: blur(12px); /* Efek Blur Kaca */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.2) !important; /* Border Tipis */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px !important; /* Circular corners */
    position: relative;
    overflow: hidden;
}

/* Efek Kilatan Cahaya di Kaca (Glossy) */
.card::before, .menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: -50%;
    width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}
.card:hover::before, .menu-card:hover::before {
    left: 100%; /* Efek kilat lewat saat hover */
    transition: 0.7s;
}

/* 3. ELECTRIC BORDERS & GLOW */
.border-info, .stat-box[style*="0dcaf0"] { border-color: #00e5ff !important; box-shadow: 0 0 15px rgba(0, 229, 255, 0.15); }
.border-warning, .stat-box[style*="ffc107"] { border-color: #ffbd00 !important; box-shadow: 0 0 15px rgba(255, 189, 0, 0.15); }
.border-danger, .stat-box[style*="dc3545"] { border-color: #ff0055 !important; box-shadow: 0 0 15px rgba(255, 0, 85, 0.15); }
.border-success, .stat-box[style*="198754"] { border-color: #00ff9d !important; box-shadow: 0 0 15px rgba(0, 255, 157, 0.15); }
.border-primary { border-color: #2d8cf0 !important; }

/* Teks Glowing */
.text-glow-blue, .text-info { color: #00e5ff !important; text-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }
.text-warning { color: #ffbd00 !important; text-shadow: 0 0 8px rgba(255, 189, 0, 0.6); }
.text-danger { color: #ff0055 !important; text-shadow: 0 0 8px rgba(255, 0, 85, 0.6); }
.text-success { color: #00ff9d !important; text-shadow: 0 0 8px rgba(0, 255, 157, 0.6); }

/* 4. ORNAMEN LABORATORIUM (HUD CIRCLES) */
/* Tambahan elemen dekoratif di pojok kartu */
.menu-card::after, .stat-box::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 60px; height: 60px;
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 0;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow { 100% { transform: rotate(360deg); } }

/* 5. FORM INPUT YANG TERBACA JELAS */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.9) !important; /* Putih agak transparan dikit */
    border: 1px solid #00e5ff !important;
    color: #000 !important; /* Teks Hitam Pekat */
    font-weight: 500;
    border-radius: 10px !important;
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 15px #00e5ff !important;
    background: #fff !important;
}
label { color: #a0c0ff; font-weight: bold; letter-spacing: 0.5px; }

/* 6. TOMBOL (BUTTONS) - CIRCULAR & ELECTRIC */
.btn {
    border-radius: 50px !important; /* Pill Shape */
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-info, .btn-outline-info:hover {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none; color: white;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
}
.btn-success, .btn-outline-success:hover {
    background: linear-gradient(90deg, #00ff9d, #00b8ff);
    border: none; color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}
.btn-warning, .btn-outline-warning:hover {
    background: linear-gradient(90deg, #f09819, #edde5d);
    border: none; color: #000;
    box-shadow: 0 0 20px rgba(240, 152, 25, 0.4);
}
.btn-danger, .btn-outline-danger:hover {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border: none; color: white;
    box-shadow: 0 0 20px rgba(255, 65, 108, 0.4);
}

/* 7. CHECKBOX NEON */
input[type="checkbox"].form-check-input {
    background-color: rgba(0,0,0,0.5) !important;
    border: 1px solid #00e5ff !important;
    width: 1.4em; height: 1.4em;
    border-radius: 4px; /* Sedikit rounded */
}
input[type="checkbox"].form-check-input:checked {
    background-color: #00e5ff !important;
    box-shadow: 0 0 10px #00e5ff;
    border-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

/* 8. HEADER LOGOS */
.fo-header, .header-vip {
    background: rgba(5, 10, 20, 0.9) !important;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #00e5ff, #6610f2, #00e5ff) 1;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

/* 9. TABEL FUTURISTIK */
.table-dark {
    --bs-table-bg: transparent;
    color: #d0d0d0;
}
.table-dark th {
    color: #00e5ff;
    font-family: 'Orbitron';
    border-bottom: 1px solid #00e5ff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.table-dark td {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    vertical-align: middle;
}
.table-dark tr:hover td {
    background: rgba(0, 229, 255, 0.05);
    color: #fff;
}

/* 10. BADGE STATUS (Pill Shape) */
.badge {
    border-radius: 50px;
    padding: 6px 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* 11. MODAL (POP UP) */
.modal-content {
    border-radius: 20px;
    border: 1px solid #00e5ff;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.2);
}
.modal-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.modal-footer { border-top: 1px solid rgba(255,255,255,0.1); }

/* 12. BACKGROUND OVERLAY (Jika ada gambar) */
.bg-overlay {
    opacity: 0.4; /* Agak gelap biar konten menonjol */
    filter: contrast(120%) brightness(60%);
}

/* SCROLLBAR KEREN */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050510; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #00e5ff; }

/* ANIMASI LOADING (Opsional) */
.main-content, .container-fluid { animation: fadeIn 0.8s ease-out; }
@keyframes fadeIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ======================================================= */
/* === KHUSUS HALAMAN DEPAN (LANDING PAGE FIX) =========== */
/* ======================================================= */

/* 1. BACKGROUND UTAMA */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Pastikan file gambar ada di assets/img/bg_utama.jpg */
    background: url('../img/bg_utama.jpg') no-repeat center center/cover;
    opacity: 0.3; /* Sesuaikan kegelapan */
    z-index: -1;
    pointer-events: none;
}

/* 2. HEADER LOGO ATAS */
.header-logos {
    z-index: 10;
    position: fixed;
    top: 0; width: 100%;
    padding-top: 20px;
}
.logo-header {
    height: 120px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    transition: transform 0.3s;
}
.logo-header:hover { transform: scale(1.1); }

/* 3. JUDUL & LOGO TENGAH */
.main-content {
    position: relative;
    z-index: 5; /* Di atas background */
}
.center-logo-container {
    width: 200px; height: 200px; /* Ukuran Logo Tengah */
    margin: 0 auto 30px auto;
    position: relative;
    display: flex; justify-content: center; align-items: center;
}
.center-logo {
    width: 100%;
    animation: levitate-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.6));
}
.logo-pulse {
    position: absolute; width: 100%; height: 100%;
    border: 2px dashed rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    animation: sci-fi-spin 15s linear infinite;
}

/* 4. SEARCH BAR (AGAR BISA DIKLIK) */
.search-container {
    position: relative;
    z-index: 100 !important; /* Wajib tinggi */
    width: 100%; max-width: 600px;
    margin: 0 auto;
}
.custom-input {
    height: 60px; font-size: 1.2rem; text-align: center;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #00e5ff !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    color: #000 !important;
}
.btn-search {
    position: absolute; top: 5px; right: 5px;
    height: 50px; width: 50px; border-radius: 50%;
    background: #00e5ff; border: none; color: #000;
    font-size: 1.2rem; transition: 0.3s;
    z-index: 101; /* Di atas input */
}
.btn-search:hover { background: #fff; box-shadow: 0 0 15px #00e5ff; }

/* 5. TOMBOL LOGIN (PERBAIKAN UTAMA) */
.login-trigger {
    position: fixed; bottom: 30px; right: 30px;
    z-index: 9999 !important; /* Paling Atas */
}
.btn-login-glass {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00e5ff;
    color: #00e5ff;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.btn-login-glass:hover {
    background: #00e5ff; color: #000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.8);
}

/* 6. MODAL LOGIN (GLASS STYLE) */
.glass-modal {
    background: rgba(10, 15, 30, 0.95) !important;
    border: 1px solid #00e5ff;
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.3);
    color: #fff;
}
.glass-modal .form-control {
    background: #fff !important; color: #000 !important;
}

/* ANIMASI */
@keyframes levitate-glow {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.5)); }
    50% { transform: translateY(-15px); filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.9)); }
}
@keyframes sci-fi-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }