@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code&display=swap');

:root {
    --bg-main: #0a101a;       
    --bg-panel: #111a26;      
    --glass-border: #1e2d40;
    --accent-cyan: #00e5ff;   
    --accent-purple: #9d00ff; 
    --text-main: #e2e8f0;
    --text-muted: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg-main); color: var(--text-main); }
.app-wrapper { display: flex; min-height: 100vh; }

.sidebar {
    width: 280px; background: #070b12; border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem; position: fixed; height: 100vh;
    display: flex; flex-direction: column;
}

.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; color: #fff; letter-spacing: 1px; }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.nav-links li a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; padding: 12px 15px; border-radius: 8px; display: block; transition: 0.3s; }
.nav-links li a:hover { background: rgba(0, 229, 255, 0.05); color: #fff; border-left: 3px solid var(--accent-cyan); }

.sidebar-footer { font-size: 0.75rem; color: var(--text-muted); margin-top: auto; border-top: 1px solid var(--glass-border); padding-top: 1rem; line-height: 1.6; }
.sidebar-footer span { font-weight: 600; color: #fff; }

.main-content { margin-left: 280px; padding: 2rem 3rem; flex: 1; }

.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; }
.digital-clock { text-align: right; }

.glass-container { background: var(--bg-panel); border: 1px solid var(--glass-border); border-radius: 12px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.form-section { background: #0c131d; padding: 1.5rem; border-radius: 10px; border: 1px solid var(--glass-border); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 12px; background: #070b12; border: 1px solid #1e2d40; border-radius: 6px; color: var(--accent-cyan); font-family: 'Fira Code', monospace; transition: 0.3s; }
.form-control:focus { border-color: var(--accent-purple); outline: none; box-shadow: 0 0 10px rgba(157, 0, 255, 0.2); }

.btn-submit { width: 100%; padding: 12px; background: rgba(0, 229, 255, 0.1); border: 1px solid var(--accent-cyan); border-radius: 6px; color: var(--accent-cyan); font-weight: 600; cursor: pointer; margin-top: 1rem; transition: 0.3s; }
.btn-submit:hover:not(:disabled) { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }
.btn-geo { width: 100%; padding: 10px; background: transparent; border: 1px dashed var(--accent-purple); border-radius: 6px; color: var(--accent-purple); font-size: 0.85rem; cursor: pointer; margin-bottom: 1.5rem; transition: 0.3s; }
.btn-geo:hover { background: rgba(157, 0, 255, 0.1); }

/* Tombol Download Laporan Excel/CSV */
.btn-export { width: 100%; padding: 12px; margin-top: 1.5rem; background: rgba(157, 0, 255, 0.15); border: 1px solid var(--accent-purple); border-radius: 6px; color: #fff; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-export:hover { background: var(--accent-purple); box-shadow: 0 0 15px rgba(157, 0, 255, 0.4); }

.result-card { background: #0c131d; padding: 2rem; border-radius: 10px; border: 1px solid var(--glass-border); text-align: center; }
.alert-box { margin-top: 1.5rem; padding: 15px; border-radius: 8px; background: rgba(255,255,255,0.03); border-left: 4px solid var(--accent-cyan); text-align: left; font-size: 0.9rem; }
.empty-state { text-align: center; padding: 4rem 0; color: var(--text-muted); font-family: monospace; }

/* KOTAK LOG TERMINAL (CYBERPUNK) */
.terminal-box { margin-top: 1.5rem; background: #000; border: 1px solid var(--accent-cyan); border-radius: 6px; padding: 10px; box-shadow: 0 0 10px rgba(0, 229, 255, 0.1); }
.terminal-header { font-size: 0.75rem; color: #000; background: var(--accent-cyan); padding: 2px 8px; display: inline-block; border-radius: 4px; font-weight: bold; margin-bottom: 10px; }
.terminal-content { font-family: 'Fira Code', monospace; font-size: 0.8rem; color: #00ff41; line-height: 1.6; min-height: 80px; }