@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@500;700&display=swap');
:root { --bg-dark: #09090b; --bg-card: #18181b; --neon-red: #ff003c; --text-main: #f4f4f5; --text-muted: #a1a1aa; --border: #27272a; }

* { box-sizing: border-box; }

body { background: var(--bg-dark); color: var(--text-main); font-family: 'Rajdhani', sans-serif; margin: 0; overflow-x: hidden; }
h1, h2, h3 { text-transform: uppercase; letter-spacing: 1px; margin-top: 0;}
.text-neon { color: var(--neon-red); text-shadow: 0 0 10px rgba(255,0,60,0.5); }

/* --- TOPBAR & HAMBURGER MENU --- */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 60px; background: #18181b; border-bottom: 1px solid #27272a; display: flex; align-items: center; padding: 0 15px; z-index: 1000; }
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; margin-right: 15px; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--neon-red); border-radius: 2px; transition: 0.3s; }
.topbar-brand { font-size: 20px; font-weight: bold; color: #fff; font-family: 'Share Tech Mono', monospace;}

/* --- SIDEBAR (SLIDE OUT) --- */
.sidebar { width: 260px; height: 100vh; position: fixed; top: 0; left: -280px; background: var(--bg-card); border-right: 1px solid var(--border); overflow-y: auto; z-index: 1001; transition: left 0.3s ease; padding-top: 20px; }
.sidebar.open { left: 0; }
.sidebar .brand { padding: 20px; font-size: 20px; font-weight: bold; text-align: center; border-bottom: 1px solid var(--border); font-family: 'Share Tech Mono'; margin-bottom: 15px;}
.sidebar a { display: block; padding: 12px 20px; color: var(--text-muted); text-decoration: none; border-left: 3px solid transparent; }
.sidebar a:hover, .sidebar a.active { background: rgba(255,0,60,0.1); color: var(--neon-red); border-left-color: var(--neon-red); }

/* --- OVERLAY --- */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; display: none; backdrop-filter: blur(3px); }
.overlay.active { display: block; }

/* --- MAIN CONTENT --- */
.main-content { padding: 80px 20px 20px 20px; }

/* --- CARD & TABEL RESPONSIVE --- */
.card-cyber { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); overflow-x: auto; }
.table-cyber { width: 100%; border-collapse: collapse; white-space: nowrap; }
.table-cyber th, .table-cyber td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }

/* --- FORM & TOMBOL --- */
.btn-neon { background: transparent; color: var(--neon-red); border: 1px solid var(--neon-red); padding: 8px 16px; border-radius: 4px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-block; transition: 0.3s; font-family: inherit; font-size: 14px; }
.btn-neon:hover { background: var(--neon-red); color: #fff; box-shadow: 0 0 15px rgba(255,0,60,0.6); }
.form-control { background: #000; border: 1px solid var(--border); color: #fff; padding: 12px; width: 100%; border-radius: 4px; margin-bottom: 15px; font-family: inherit; font-size: 14px; }
.form-control:focus { outline: none; border-color: var(--neon-red); box-shadow: 0 0 10px rgba(255,0,60,0.3); }

/* ========================================= */
/* KHUSUS TAMPILAN HP (LAYAR DI BAWAH 768px) */
/* ========================================= */
@media (max-width: 768px) {
    div[style*="display:flex"], div[style*="display: flex"] { flex-direction: column !important; align-items: stretch !important; gap: 15px !important; }
    .btn-neon { width: 100% !important; text-align: center; margin-bottom: 5px; }
    h2 { font-size: 20px; }
    form[method="GET"] { flex-direction: column; }
    .card-cyber { min-width: 100% !important; padding: 15px; }
    .table-cyber th, .table-cyber td { font-size: 13px; padding: 8px; }
}