/* ======================================================== */
/* --- GLOBAL THEME & SCI-FI BLUE BACKGROUND --- */
/* ======================================================== */
:root {
    --primary: #0284c7; 
    --secondary: #38bdf8;
    --proses: #f59e0b; 
    --cepat: #10b981; 
    --lambat: #ef4444; 
    --card-dark: rgba(21, 32, 51, 0.85);
    --border-dark: rgba(255, 255, 255, 0.1);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

body, html {
    margin: 0; padding: 0; font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-light); overflow-x: hidden; height: 100%; 
    scroll-behavior: smooth; background: #040d1a; overscroll-behavior-y: none;
}

.aurora-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; animation: floatAurora 12s infinite alternate ease-in-out; opacity: 0.95; }
.blob-1 { width: 55vw; height: 55vw; background: rgba(15, 157, 88, 0.6); top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { width: 65vw; height: 65vw; background: rgba(56, 189, 248, 0.55); bottom: -20%; right: -10%; animation-delay: -2s; }
.blob-3 { width: 60vw; height: 60vw; background: rgba(155, 114, 203, 0.55); top: 30%; left: 50%; animation-delay: -4s; }
.blob-4 { width: 45vw; height: 45vw; background: rgba(219, 68, 55, 0.45); top: 60%; left: -10%; animation-delay: -6s; }

@keyframes floatAurora { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(12vw, -12vh) scale(1.15); } 66% { transform: translate(-12vw, 10vh) scale(0.85); } 100% { transform: translate(8vw, 18vh) scale(1.1); } }

.screen { display: none; padding: 0 0 120px 0; min-height: 100vh; box-sizing: border-box; background: transparent; position: relative; z-index: 10; }
.active-screen { display: block; animation: diveIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes diveIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

.content-wrapper { max-width: 750px; margin: auto; position: relative; padding: 25px 20px;} 
.content-wrapper-wide { max-width: 1100px; margin: auto; position: relative; padding: 25px 20px;}

/* LANDING PAGE */
#landing-page { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; z-index: 2000; background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 50%, #020617 100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, filter 0.4s ease; overflow: hidden; }
.door-open { transform: scale(1.3) translateY(-30px) !important; opacity: 0 !important; filter: blur(15px) !important; pointer-events: none; }
#landing-page::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; z-index: 0; pointer-events: none; background-image: radial-gradient(circle at 15% 25%, rgba(56,189,248,0.8) 1.5px, transparent 2px), radial-gradient(circle at 85% 30%, rgba(255,255,255,0.8) 1px, transparent 2px), radial-gradient(circle at 50% 80%, rgba(255,255,255,0.5) 2px, transparent 3px), radial-gradient(circle at 20% 70%, rgba(139,92,246,0.6) 1.5px, transparent 2px), radial-gradient(circle at 80% 85%, rgba(56,189,248,0.9) 2px, transparent 4px); animation: twinkleStars 4s infinite alternate; }
@keyframes twinkleStars { 0% { opacity: 0.7; } 100% { opacity: 1; } }

.landing-top { margin-top: 80px; text-align: center; z-index: 2; width: 100%; padding: 0 20px; box-sizing: border-box; animation: fadeInDown 1s ease-out; }
.landing-title { margin: 0 0 8px 0; font-weight: 900; color: white; text-shadow: 0 0 15px rgba(255,255,255,0.4); font-size: clamp(24px, 7vw, 32px); letter-spacing: 1px; text-transform: uppercase; line-height: 1.2;}
.landing-subtitle { margin: 0; font-weight: 700; color: #818cf8; text-shadow: 0 0 10px rgba(129,140,248,0.5); letter-spacing: 1.5px; font-size: clamp(12px, 3.5vw, 15px); }

.landing-center { position: relative; width: 100%; max-width: 380px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; animation: fadeIn 1.5s ease-in-out; }
.circuit-board { position: absolute; width: 140%; height: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.circuit-line { fill: none; stroke: rgba(56, 189, 248, 0.25); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.electric-pulse { fill: none; stroke: #38bdf8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20 120; animation: pulseTravel 2s linear infinite; filter: drop-shadow(0 0 8px #38bdf8); }
@keyframes pulseTravel { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }

.fingerprint-btn { position: relative; z-index: 5; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); border: 2px solid rgba(56, 189, 248, 0.8); border-radius: 50%; width: 130px; height: 130px; color: #38bdf8; font-size: 70px; display: flex; justify-content: center; align-items: center; cursor: pointer; outline: none !important; -webkit-tap-highlight-color: transparent; box-shadow: 0 0 30px rgba(56, 189, 248, 0.4), inset 0 0 25px rgba(56, 189, 248, 0.3); transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.fingerprint-btn::after { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #38bdf8; opacity: 0; animation: pulseRing 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; pointer-events: none; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.fingerprint-btn:active { transform: scale(0.85); box-shadow: 0 0 60px rgba(56, 189, 248, 1), inset 0 0 50px rgba(56, 189, 248, 0.9); color: #ffffff; border-color: #ffffff; filter: brightness(1.5); }

.landing-bottom { margin-bottom: 50px; text-align: center; z-index: 2; width: 100%; padding: 0 20px; box-sizing: border-box; animation: fadeInUp 1s ease-out; }
.landing-bottom p { font-style: italic; font-size: 14px; color: #cbd5e1; line-height:1.6; font-weight:600; text-shadow: 0 2px 5px rgba(0,0,0,0.9); margin:0; }

@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

/* HERO DASHBOARD */
.hero-dashboard { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; margin-top: 10px; padding: 0 5px;}
.hero-left { width: 45%; display: flex; flex-direction: column; gap: 15px; z-index:2;}
.hero-right { width: 55%; display: flex; align-items: center; justify-content: center; position: relative; z-index:1; }

.glass-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.glass-card:active { transform: scale(0.95); }
.glass-card.analytics { background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(15, 23, 42, 0.8)); min-height: 90px; }
.glass-card.jadwal { min-height: 45px; flex-direction: row; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.5px;}

.hud-wrapper { position: relative; width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.hud-ring-outer { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 1px dashed rgba(56, 189, 248, 0.5); border-left: 2px solid #38bdf8; animation: spinRight 12s linear infinite; box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); }
.hud-ring-middle { position: absolute; width: 80%; height: 80%; border-radius: 50%; border: 3px dotted rgba(56, 189, 248, 0.8); animation: spinLeft 18s linear infinite; }
.hud-ring-inner { position: absolute; width: 65%; height: 65%; border-radius: 50%; border: 2px solid transparent; border-top-color: #7dd3fc; border-bottom-color: #3b82f6; animation: spinRight 8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.5); }
.hud-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%); border-radius: 50%; animation: pulseGlow 3s ease-in-out infinite alternate; pointer-events: none;}
.hud-core-text { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hud-label-top { font-size: 9px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; margin-bottom: 2px; }
.hud-value { font-size: 32px; font-weight: 900; color: white; text-shadow: 0 0 15px #38bdf8; margin: 0; line-height: 1; letter-spacing: 1px; }
.hud-label-bottom { font-size: 8px; font-weight: 700; color: #7dd3fc; letter-spacing: 1.5px; margin-top: 4px; text-transform: uppercase; }

@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }
@keyframes pulseGlow { 0% { opacity: 0.5; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1.05); } }

.main-grid-container { background: var(--card-dark); border-radius: 30px; padding: 25px 20px; box-shadow: 0 -10px 40px rgba(0,0,0,0.5); border: 1px solid var(--border-dark); position: relative; z-index: 10; margin-top: -10px; backdrop-filter: blur(10px);}
.gopay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px 12px; text-align: center; }
.gopay-icon-btn { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: 0.2s; }
.gopay-icon-btn:active { transform: scale(0.92); }
.gopay-icon-box { width: 58px; height: 58px; background: rgba(15, 23, 42, 0.6); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 24px; position: relative; box-shadow: inset 0 2px 10px rgba(255,255,255,0.05), 0 5px 15px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); }
.gopay-icon-text { font-size: 11px; font-weight: 700; color: var(--text-light); line-height: 1.2; text-shadow: 1px 1px 2px rgba(0,0,0,0.8);}
.promo-banner { background: linear-gradient(90deg, #10b981, #059669); color: white; font-size: 9px; padding: 3px 8px; border-radius: 6px; position: absolute; bottom: -8px; font-weight: 900; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }

.header { background: linear-gradient(135deg, rgba(2,132,199,0.8), rgba(30,58,138,0.8)) !important; padding: 20px 25px; border-radius: 20px; margin-bottom: 25px; box-shadow: 0 10px 25px rgba(0,0,0,0.4) !important; border: 1px solid var(--border-dark); display: flex; align-items: center; backdrop-filter: blur(10px); }
.header h2 { margin: 0; font-size: 18px; font-weight: 800; color: white; }
.sub-title-box { background: rgba(30,41,59,0.8); padding: 12px 18px; border-radius: 12px; color: white; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; border: 1px solid var(--border-dark); }
.dark-panel { background: var(--card-dark); padding: 25px; border-radius: 20px; border: 1px solid var(--border-dark); margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); backdrop-filter: blur(10px); }
.progress-card { background: rgba(30, 41, 59, 0.6); padding: 18px 20px; border-radius: 16px; color: white; border: 1px solid var(--border-dark); border-left-width: 6px; border-left-style: solid; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); backdrop-filter: blur(10px); cursor: pointer;}

.grid-menu { display: grid; grid-template-columns: 1fr; gap: 16px; }
.menu-card { background: rgba(30, 41, 59, 0.6); padding: 18px 20px; border-radius: 16px; font-weight: 700; font-size: 14px; color: white; border: 1px solid var(--border-dark); display: flex; align-items: center; cursor: pointer; border-left-width: 6px; border-left-style: solid; transition: 0.2s; backdrop-filter: blur(10px); }
.menu-card:active { transform: scale(0.98); }
.menu-card i { width: 40px; height: 40px; background: rgba(0,0,0,0.3); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 18px; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;}
input, select, textarea { width: 100%; padding: 15px; border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; box-sizing: border-box; background: rgba(0,0,0,0.4); color: white; font-weight: 600; transition:0.3s;}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); background:rgba(0,0,0,0.6);}
.btn-submit { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--secondary), #1d4ed8); color: white; border: none; border-radius: 14px; font-weight: 800; font-size: 14px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(37,99,235,0.3);}
.btn-submit:active { transform: scale(0.98); }

.tab-container { display: flex; background: rgba(0,0,0,0.3); padding: 6px; border-radius: 16px; margin-bottom: 20px; border: 1px solid var(--border-dark);}
.tab-btn { flex: 1; padding: 12px 6px; border: none; background: transparent; font-weight: 700; font-size: 12px; cursor: pointer; color: var(--text-muted); border-radius: 12px;}
.tab-active { background: rgba(255,255,255,0.1) !important; color: var(--secondary) !important; box-shadow: 0 4px 10px rgba(0,0,0,0.3);}

.notulen-dark-card { background: #0f172a; border-radius: 16px; padding: 20px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; transition: 0.2s; }
.notulen-dark-card:active { transform: scale(0.98); }
.notulen-dark-card h3 { color: #f8fafc; font-size: 16px; font-weight: 800; margin: 0 0 10px 0; text-transform: uppercase; letter-spacing: 0.5px;}
.notulen-dark-card p { color: #cbd5e1; font-size: 13px; font-weight: 500; margin: 0; }

.notul-detail-wrapper { background: #0f172a; padding: 25px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.notul-detail-header { text-align: center; margin-bottom: 25px; }
.notul-detail-header h2 { color: white; margin: 0; font-size: 22px; font-weight: 900; letter-spacing: 1px;}
.notul-detail-header p { color: #38bdf8; font-weight: 800; margin: 5px 0 0 0; font-size: 15px; }

.notulen-table { width: 100%; border-collapse: collapse; margin-bottom: 25px; background: rgba(15,23,42,0.8); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.notulen-table th, .notulen-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: white; vertical-align: middle;}
.notulen-table th { color: #38bdf8; text-align: left; width: 35%; font-weight: 800; border-right: 1px solid rgba(255,255,255,0.05);}
.notulen-table td { font-weight: 500; line-height: 1.5; }

.poin-card { background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 18px; margin-bottom: 15px; border-left: 6px solid #f59e0b; display: flex; align-items: flex-start; gap: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.2s;}
.poin-card.done { border-left-color: #10b981; }
.poin-card input[type="checkbox"] { width: 22px; height: 22px; margin-top: 2px; cursor: pointer; accent-color: #f59e0b; }
.poin-card.done input[type="checkbox"] { accent-color: #10b981; }
.poin-card label { color: #f8fafc; font-size: 13px; font-weight: 600; line-height: 1.6; cursor: pointer; text-transform: uppercase; margin:0;}

.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input.profil-search-input { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; font-size: 14px !important; font-weight: 500 !important; color: white !important; }
input.profil-search-input:focus { box-shadow: none !important; border: none !important; background: transparent !important; }
.profil-list-item { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 18px; cursor: pointer; transition: 0.2s; box-shadow: inset 0 2px 5px rgba(255,255,255,0.05), 0 4px 10px rgba(0,0,0,0.2); backdrop-filter: blur(10px); }
.profil-list-item:active { transform: scale(0.98); background: rgba(30, 41, 59, 0.8); }
.profil-item-icon { font-size: 24px; color: #e2e8f0; width: 35px; text-align: center; }
.profil-item-text { flex: 1; }
.profil-item-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; letter-spacing:0.3px;}
.profil-item-sub { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.profil-item-arrow { font-size: 14px; color: var(--text-muted); }

.gopay-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px); display: flex; justify-content: space-around; align-items: flex-end; padding: 10px 0 20px 0; border-top: 1px solid rgba(255,255,255,0.05); z-index: 5000; border-top-left-radius: 25px; border-top-right-radius: 25px; box-shadow: 0 -5px 25px rgba(0,0,0,0.8); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #64748b; font-size: 10px; font-weight: 700; cursor: pointer; width: 20%; transition: 0.3s; }
.nav-item.active { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }
.nav-item i { font-size: 22px; }
.nav-center-wrap { position: relative; width: 20%; display: flex; justify-content: center; }
.nav-center-btn { position: absolute; bottom: 5px; width: 65px; height: 65px; background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #cbd5e1; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); border: 4px solid #081121; cursor: pointer; transition: 0.3s; z-index: 5001; }

.loader-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999999; align-items: center; justify-content: center; flex-direction: column; color: white; text-align: center; }
.spinner { border: 4px solid transparent; border-top: 4px solid var(--secondary); border-left: 4px solid var(--secondary); border-radius: 50%; width: 50px; height: 50px; animation: spinRight 1s linear infinite; margin-bottom: 20px;}

/* CYBER SECURITY & GOD MODE */
.shield-active { color: #10b981; animation: shieldPulse 2s infinite ease-in-out; }
@keyframes shieldPulse { 0% { text-shadow: 0 0 5px #10b981; transform: scale(1); } 50% { text-shadow: 0 0 20px #10b981; transform: scale(1.1); } 100% { text-shadow: 0 0 5px #10b981; transform: scale(1); } }
.security-modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(4, 13, 26, 0.95); backdrop-filter:blur(10px); z-index:9999999 !important; align-items:center; justify-content:center; flex-direction:column; padding:20px; }

.processor-core { position: relative; width: 90px; height: 90px; margin: 40px auto 30px auto; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 10; }
.processor-core:active { transform: scale(0.85); }
.processor-circuit { position: absolute; width: 100%; height: 100%; border-radius: 18px; border: 2px solid #0284c7; box-shadow: 0 0 25px #0ea5e9, inset 0 0 15px #0284c7; animation: pulseCore 2.5s infinite alternate ease-in-out; }
.processor-core i { font-size: 45px; color: #38bdf8; text-shadow: 0 0 15px #e0f2fe; z-index: 2; }
@keyframes pulseCore { 0% { opacity:0.6; transform:scale(0.95); } 100% { opacity:1; transform:scale(1.05); } }

.pin-input-box { background: rgba(0,0,0,0.6); border: 2px solid var(--secondary); color: white; font-size: 28px; text-align: center; letter-spacing: 15px; padding: 15px; border-radius: 15px; width: 100%; box-shadow: 0 0 20px rgba(56,189,248,0.2); font-weight: 900; font-family: monospace; }
.god-mode-header { background: linear-gradient(135deg, #4c1d95, #1e1b4b) !important; border: 1px solid #8b5cf6 !important; box-shadow: 0 10px 30px rgba(139,92,246,0.3) !important; }

.god-mode-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; margin-bottom: 20px; }
.god-mode-tabs::-webkit-scrollbar { height: 6px; }
.god-mode-tabs::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }
.gm-tab { background: rgba(30,41,59,0.8); border: 1px solid var(--border-dark); color: var(--text-muted); padding: 10px 18px; border-radius: 12px; font-weight: 800; font-size: 12px; white-space: nowrap; cursor: pointer; transition: 0.3s; }
.gm-tab.active { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: white; border-color: #a78bfa; box-shadow: 0 5px 15px rgba(139,92,246,0.4); }

.gm-data-card { background: rgba(15,23,42,0.7); border: 1px solid var(--border-dark); border-left: 4px solid var(--secondary); border-radius: 14px; padding: 15px; margin-bottom: 15px; position: relative; }
.gm-data-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,0.1); padding: 6px 0; font-size: 12px; }
.gm-data-key { color: var(--text-muted); font-weight: 700; width: 35%; text-transform: capitalize;}
.gm-data-val { color: white; font-weight: 600; width: 65%; text-align: right; word-break: break-word; }
.btn-gm-edit { width: 100%; padding: 10px; background: rgba(245, 158, 11, 0.1); border: 1px solid #f59e0b; color: #fbbf24; border-radius: 8px; margin-top: 10px; font-weight: 800; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: 0.2s; }
.btn-gm-edit:active { transform: scale(0.98); background: #f59e0b; color: white; }

.pdf-split-card { background: rgba(30, 41, 59, 0.7); border: 1px solid var(--secondary); border-radius: 12px; padding: 15px; margin-bottom: 15px; position: relative; }
.file-upload-zone { border: 2px dashed var(--secondary); padding: 30px; border-radius: 20px; text-align: center; cursor: pointer; background: rgba(56, 189, 248, 0.05); }
.file-upload-zone:hover { background: rgba(56, 189, 248, 0.1); }
#dynamic-editor-body { max-height: 50vh; overflow-y: auto; padding-right: 5px; margin-bottom: 15px; }
.dyn-input-group { margin-bottom: 12px; }
.dyn-input-group label { color: #8b5cf6; font-size: 10px; margin-bottom: 4px; }
.dyn-input-group input, .dyn-input-group textarea { background: rgba(0,0,0,0.5); padding: 10px; font-size: 13px; }
.tab-container-scroll { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 10px; margin-bottom: 15px; border-bottom: 1px solid var(--border-dark); }
.tab-container-scroll::-webkit-scrollbar { height: 6px; }
.tab-container-scroll::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }

/* ======================================================== */
/* --- EFEK SIRKUIT NEON TERSINKRONISASI (STRUKTUR ORG) --- */
/* ======================================================== */

.org-canvas { display: inline-flex; flex-direction: column; align-items: center; position: relative; width: 100%; min-width: max-content; padding: 20px 40px 60px 40px; }

/* Layar Transparan untuk area Scroll */
.org-panel-transparent { background: rgba(4, 13, 26, 0.4) !important; backdrop-filter: blur(8px); border: 1px solid rgba(56, 189, 248, 0.3) !important; box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.1), 0 10px 30px rgba(0,0,0,0.8); }

/* Konfigurasi Garis Kabel Sirkuit (Mati/Gelap) */
.line-v-circuit { position: relative; width: 3px; background: #0f172a; margin: 0 auto; z-index: 1; overflow: hidden; border-radius: 2px;}
.line-h-circuit { position: relative; height: 3px; background: #0f172a; z-index: 1; overflow: hidden; border-radius: 2px;}

/* Animasi Cahaya Bergerak di dalam Garis */
.line-v-circuit::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, transparent 0%, #38bdf8 80%, #ffffff 100%); animation: flowVSync 4s infinite linear var(--delay, 0s); box-shadow: 0 0 10px #38bdf8; will-change: transform, opacity; }
.line-h-circuit::after { content: ''; position: absolute; left: 0%; top: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, #38bdf8 40%, #ffffff 50%, #38bdf8 60%, transparent 100%); animation: flowHSync 4s infinite linear var(--delay, 0s); box-shadow: 0 0 10px #38bdf8; }

@keyframes flowVSync { 
    0% { transform: translateY(-100%); opacity: 1; } 
    15% { transform: translateY(100%); opacity: 1; } 
    16% { transform: translateY(100%); opacity: 0; } 
    100% { transform: translateY(100%); opacity: 0; } 
}
@keyframes flowHSync { 0% { transform: scaleX(0); opacity: 1; } 15% { transform: scaleX(1); opacity: 1; } 16% { opacity: 0; } 100% { opacity: 0; } }

/* Konfigurasi Kotak Tabel Normal (Solid/Tanpa Blur untuk Performa Anti-Lag) */
.org-box-neon { 
    background: rgba(15, 23, 42, 0.98); border: 1px solid #1e293b; position: relative; z-index: 5; display: flex; flex-direction: column; text-align: center; margin: 0 auto; min-width: 150px; border-radius: 8px; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease;
    animation: circuitBoxHit 4s infinite var(--delay, 0s);
    will-change: transform, box-shadow;
}
.org-box-neon.editable:hover { border-color: #10b981; transform: scale(1.05); }
.org-box-neon.editable { cursor: pointer; pointer-events: auto !important; }

.org-head-neon { background: rgba(0, 0, 0, 0.7); color: #94a3b8; font-size: 10px; font-weight: 900; padding: 10px 6px; text-transform: uppercase; border-bottom: 1px solid #1e293b; letter-spacing: 0.5px; transition: 0.3s;}
.org-body-neon { padding: 14px 10px; color: #64748b; font-size: 12px; font-weight: 800; text-transform: uppercase; min-height: 25px; display:flex; justify-content:center; align-items:center; transition: 0.3s;}

/* Keyframes untuk Kotak Menyala Tersinkronisasi */
@keyframes circuitBoxHit {
    0% { border-color: #1e293b; box-shadow: none; background: rgba(15, 23, 42, 0.98); }
    5% { border-color: #38bdf8; box-shadow: 0 0 15px #38bdf8, inset 0 0 10px rgba(56,189,248,0.5); background: rgba(15, 23, 42, 1); }
    15% { border-color: #1e293b; box-shadow: none; background: rgba(15, 23, 42, 0.98); }
    100% { border-color: #1e293b; box-shadow: none; background: rgba(15, 23, 42, 0.98); }
}

.org-sub-neon { background: rgba(15, 23, 42, 0.98); border: 1px solid #1e293b; margin-top: 15px; position: relative; display: flex; flex-direction: column; z-index: 5; margin-left: auto; margin-right: auto; border-radius: 8px; animation: circuitBoxHit 4s infinite var(--delay, 0s); will-change: box-shadow; }
.org-sub-head-neon { background: rgba(0,0,0,0.7); color: #94a3b8; font-size: 9px; font-weight: 900; padding: 8px; border-bottom: 1px solid #1e293b; text-align: center; }
.org-sub-body-neon { padding: 12px; color: #475569; font-size: 10px; font-weight: 700; white-space: pre-line; line-height: 1.6; text-align: left; }

.group-container-neon { border: 1px dashed rgba(56, 189, 248, 0.2); background: rgba(0,0,0,0.4); padding: 35px 10px 15px 10px; position: relative; margin: 0 8px; border-radius: 12px; animation: groupHit 4s infinite var(--delay, 0s); }
.group-header-label-neon { position: absolute; top: 0; left: 0; width: 100%; background: rgba(15,23,42,0.9); color: #64748b; font-size: 10px; font-weight: 900; padding: 8px 0; text-align: center; text-transform: uppercase; border-bottom: 1px solid #1e293b; box-sizing: border-box; border-top-left-radius: 12px; border-top-right-radius: 12px;}

@keyframes groupHit { 0%, 15%, 100% { border-color: rgba(56, 189, 248, 0.2); box-shadow:none; } 5% { border-color: #38bdf8; box-shadow: inset 0 0 15px rgba(56,189,248,0.2); } }

.org-row { display: flex; position: relative; width: 100%;}
.org-col { display: flex; flex-direction: column; align-items: center; position: relative; }

/* Smooth Zoom Wrapper & Panning Bounds Fix */
#org-viewport { text-align: center; }
#org-zoom-wrapper { display: inline-block; transform-origin: top center; transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; touch-action: none;}

/* ======================================================== */
/* --- CSS KHUSUS EXPORT NOTULEN (JPG & PDF) --- */
/* ======================================================== */
.export-mode {
    width: 1000px !important;
    background: transparent !important; 
}

/* ======================================================== */
/* --- CSS TIM & PERSONEL --- */
/* ======================================================== */
.personel-table-wrapper { overflow-x: auto; margin-top: 15px; border-radius: 12px; border: 1px solid var(--border-dark); background: rgba(15,23,42,0.8); box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
.personel-table { width: 100%; border-collapse: collapse; color: white; font-size: 12px; min-width: 600px; }
.personel-table th { background: rgba(0,0,0,0.7); color: #38bdf8; padding: 14px; text-align: left; font-weight: 900; border-bottom: 2px solid var(--border-dark); text-transform: uppercase; letter-spacing: 1px; }
.personel-table td { padding: 14px; border-bottom: 1px dashed rgba(255,255,255,0.1); font-weight: 700; vertical-align: middle; }
.personel-table tr:last-child td { border-bottom: none; }
.personel-table tbody tr:hover { background: rgba(56, 189, 248, 0.1); }
.badge-status { padding: 6px 12px; border-radius: 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.5px; display: inline-block; text-align: center; min-width: 70px; text-transform: uppercase; }
.badge-pkwt { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
.badge-tetap { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); }
.badge-so { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
.badge-os { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border: 1px solid #8b5cf6; box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); }
.badge-foreman { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }
.btn-edit-personel { background: rgba(15, 23, 42, 0.8); border: 1px solid #38bdf8; color: #38bdf8; padding: 8px 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; gap: 5px; }
.btn-edit-personel:hover { background: #38bdf8; color: #040d1a; box-shadow: 0 0 15px #38bdf8; transform: scale(1.05); }

/* ======================================================== */
/* --- CSS BARU: TAMPILAN NOTULEN PROFESIONAL (LIGHT) --- */
/* ======================================================== */
.notulen-pro-wrapper {
    background-color: #ffffff;
    color: #0f172a;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden; /* Mencegah background mold keluar batas */
}

/* WATERMARK BACKGROUND MOLD */
.blueprint-bg { position: absolute; z-index: 0; opacity: 0.06; pointer-events: none; }
.bg-top-right { top: -40px; right: -40px; width: 400px; transform: rotate(10deg); }
.bg-bottom-left { bottom: 100px; left: -50px; width: 350px; transform: rotate(-10deg); }
.pro-content { position: relative; z-index: 2; }

.pro-header { display: flex; align-items: center; padding-bottom: 20px; margin-bottom: 25px; }
.pro-logo-box { width: 100px; margin-right: 25px; display: flex; align-items: center; justify-content: center; }
.pro-logo-box img { width: 100%; height: auto; object-fit: contain; }
.pro-title-box { flex: 1; text-align: left; padding-left: 10px; }
.pro-title-box h1 { margin: 0; font-size: 26px; font-weight: 900; color: #0f172a; letter-spacing: 0.5px; }
.pro-title-box h2 { margin: 4px 0 0 0; font-size: 14px; font-weight: 700; color: #475569; }

/* KOTAK INFO LAPORAN (Sesuai Referensi Gambar) */
.pro-info-card {
    background: #eef6fb; /* Biru sangat muda */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #d0e3f0;
    display: flex;
    flex-direction: column;
}

.pro-info-top {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #d0e3f0;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.pro-info-bottom { display: flex; align-items: stretch; }

.pro-info-label-big {
    font-weight: 900;
    font-size: 14px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 200px; /* Lebar kolom kiri */
}

.pro-badge {
    background: #3b82f6;
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.pro-attendee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom Kehadiran */
    gap: 12px;
    flex: 1;
}

.pro-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    border-radius: 8px; 
    font-size: 11px;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.pro-chip i.fa-check-circle { color: #10b981; font-size: 14px; }

.pro-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GRID POIN EVALUASI (Sesuai Referensi Gambar) */
.pro-eval-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.pro-eval-card {
    background: linear-gradient(135deg, #f4f9fd, #ffffff);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.05); /* Efek Timbul */
    border: 1px solid #d0e3f0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.pro-eval-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
}

.pro-eval-num {
    font-size: 26px;
    font-weight: 900;
    color: #334155;
    line-height: 1;
}

.pro-eval-icon { font-size: 18px; color: #0284c7; }

.pro-eval-text {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.6;
    text-transform: uppercase;
    margin: 0;
}

.pro-photo-section { display: flex; flex-direction: column; align-items: center; margin-top: 40px; }
.pro-photo-polaroid {
    background: #ffffff;
    padding: 12px 12px 40px 12px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    max-width: 60%;
}
.pro-photo-polaroid img { width: 100%; height: auto; border-radius: 4px; display: block; }
.pro-photo-label { position: absolute; bottom: 12px; left: 0; width: 100%; text-align: center; font-weight: 800; font-size: 12px; color: #0f172a; }

.pro-footer { display: none !important; } /* Footer Hilang */

.export-mode #notul-export-wrapper { background: transparent !important; padding:0 !important; width: 1000px !important;}
.export-mode .notulen-pro-wrapper { background-color: #ffffff !important; border:none !important; }
@media print {
    body * { visibility: hidden; }
    #notul-export-wrapper, #notul-export-wrapper * { visibility: visible; }
    #notul-export-wrapper { position: absolute; left: 0; top: 0; width: 100%; background: #ffffff !important; }
    .pro-eval-card { break-inside: avoid; }
}
/* ========================================================= */
/* UPGRADE TAMPILAN: KARTU ANALYTICS ANIMASI NEON (CYBERPUNK)*/
/* ========================================================= */

.card-analytics-pro {
    position: relative;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    height: 120px; 
    width: 80%;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 8px 25px -5px rgba(56, 189, 248, 0.2), inset 0 0 20px rgba(56, 189, 248, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    transition: all 0.2s ease;
    margin-bottom: 15px; 
}

.card-analytics-pro:active {
    transform: scale(0.95);
    border-color: rgba(56, 189, 248, 0.8);
}

/* Animasi Gelombang Bergerak */
.anim-wave-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1;
}

.neon-line {
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8)) drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

.neon-line-slow {
    animation: pulseLine 3s ease-in-out infinite;
}


@keyframes pulseLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; stroke-width: 2; }
}

/* Animasi Titik Cahaya */
.glowing-node {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px #e0f2fe, 0 0 20px #38bdf8, 0 0 30px #38bdf8;
    animation: pulseNode 2s infinite alternate;
}

@keyframes pulseNode {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 1; }
}

/* Teks Judul Analytics */
.card-title-bottom {
    position: relative;
    z-index: 3;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
    letter-spacing: 0.5px;
}
/* ========================================================= */
/* FIX: MENCEGAH KERTAS NOTULEN MENGKERUT & BERANTAKAN DI HP */
/* ========================================================= */

/* 1. Atur Wadah Utama agar bisa di-scroll ke samping */
#report-notulen-content {
    width: 100% !important;
    overflow-x: auto !important; /* Aktifkan Scroll Kanan Kiri */
    -webkit-overflow-scrolling: touch; /* Biar licin saat di-swipe di HP */
    padding-bottom: 20px !important; 
    background: transparent !important;
}

/* 2. Paksa kertas di dalamnya agar TETAP LEBAR (seperti ukuran A4) */
#report-notulen-content > div,
#report-notulen-content .print-area,
#report-notulen-content table {
    min-width: 800px !important; /* Paksa kertas/tabel tetap selebar 800px */
    background: white; 
    margin: 0 auto;
}
/* ========================================================= */
/* UPGRADE VISUAL: KARTU ANALYTICS ESTETIK & PROFESIONAL */
/* ========================================================= */

/* 1. Class Gaya Neon Global */
.neon-glow {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8)) drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

.neon-green-glow {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 16px rgba(16, 185, 129, 0.3));
}

.neon-text-glow {
    text-shadow: 0 0 8px rgba(224, 242, 254, 0.8), 0 0 16px rgba(56, 189, 248, 0.4);
}

/* 2. Gaya Jejak Sirkuit Latar Belakang (B di gambar contoh) */
.circuit-line-static {
    fill: none;
    stroke: rgba(56, 189, 248, 0.25); /* Cyan Transparan */
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.3)); /* Cahaya Sirkuit Halus */
}

/* 3. Gaya Kilatan Petir Neon (D di gambar contoh) */
.lightning-flash {
    fill: none;
    stroke: #ffffff; /* Putih Inti */
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 20px #38bdf8); /* Cahaya Petir Intens */
}

/* 4. Gaya Garis Grafik Kompleks (G di gambar contoh) */
.chart-line-static {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Penanda Node & Label Teks (seperti 'M16') */
.chart-node-label {
    fill: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    text-shadow: 0 0 5px #e0f2fe;
}

/* 5. Teks Judul Analytics */
.card-analytics-pro .card-title-bottom {
    /* (Tetap gunakan gaya yang sudah ada, hanya tambahkan class 'neon-text-glow' nanti di HTML) */
}
/* --- CSS EFEK SIRKUIT HALUS (VERSI OPTIMASI RINGAN) --- */
.line-circuit {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.3; 
}

.line-glow {
    fill: none;
    stroke-width: 3; 
    stroke-linecap: round;
    stroke-dasharray: 30 900; /* Total panjang adalah 40 + 200 = 240 */
    animation: flowCircuit 3s linear infinite;
    will-change: stroke-dashoffset; 
    transform: translateZ(0); 
}

@keyframes flowCircuit {
    /* HARUS 240! Jika kurang dari ini, animasinya akan patah/melompat */
    0% { stroke-dashoffset: 930; } 
    100% { stroke-dashoffset: 0; }
}
/* ======================================================== */
/* FIX: HIERARKI Z-INDEX (MENCEGAH MODAL BENTROK & LAYAR KUNCI) */
/* ======================================================== */
.security-modal { z-index: 99900 !important; } /* Layer Dasar Modal */
#org-pin-modal, #personel-pin-modal, #god-mode-pin-modal { z-index: 99950 !important; } /* Modal PIN harus di atas Modal biasa */
#cyber-security-panel { z-index: 99980 !important; } /* Panel Cyber selalu di atas Modal */
.loader-overlay { z-index: 99999 !important; } /* Loader/Memproses adalah Raja Tertinggi */
/* ======================================================== */
/* --- ACCOUNTING TABLE STYLE (NP & BPB) --- */
/* ======================================================== */
.accounting-table { width: 100%; border-collapse: collapse; font-size: 12px; color: white; min-width: 700px; }
.accounting-table th { background: rgba(15,23,42,0.9); padding: 12px; text-align: left; font-weight: 800; color: #94a3b8; text-transform: uppercase; border-bottom: 2px solid #38bdf8; white-space: nowrap; }
.accounting-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.accounting-table tbody tr:hover { background: rgba(255,255,255,0.05); }

.master-table td { font-weight: 600; }
.master-table .np-col { color: #38bdf8; }
.master-table .bpb-col { color: #10b981; }

.status-badge-pending { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid #f59e0b; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 900; display: inline-block; text-align: center; }
.status-badge-selesai { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid #10b981; padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 900; display: inline-block; text-align: center; }

.btn-update-bpb { background: rgba(245,158,11,0.1); border: 1px solid #f59e0b; color: #fcd34d; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 800; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.btn-update-bpb:hover { background: #f59e0b; color: white; box-shadow: 0 0 10px rgba(245,158,11,0.5); }

/* ======================================================== */
/* --- EFEK CAHAYA BERGERAK KELILING (PROFIL ANTI-LAG) --- */
/* ======================================================== */
.profil-list-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Garis Sorotan Cahaya Halus yang Berputar */
.profil-list-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--glow-color, #38bdf8), transparent 30%);
    animation: rotateBorder 6s linear infinite;
    z-index: -2;
    opacity: 0.45;
    will-change: transform;
}

/* Masking Dalam Kotak agar Tetap Bersih */
.profil-list-item::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #0f172a;
    border-radius: 13px;
    z-index: -1;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Variasi Warna Sorotan Tiap Kartu */
.glow-border-red { --glow-color: #ef4444; }
.glow-border-emerald { --glow-color: #10b981; }
.glow-border-cyan { --glow-color: #38bdf8; }
.glow-border-purple { --glow-color: #a855f7; }
.glow-border-rose { --glow-color: #f43f5e; }
.glow-border-amber { --glow-color: #f59e0b; }
.glow-border-indigo { --glow-color: #6366f1; }
.glow-border-teal { --glow-color: #14b8a6; }
.glow-border-blue { --glow-color: #60a5fa; }

/* ======================================================== */
/* FIX: UI/UX BOTTOM NAV & TAP HIGHLIGHT                    */
/* ======================================================== */
/* 1. Mematikan kotak biru jelek bawaan browser HP saat elemen diklik */
.nav-item, .nav-center-btn, .gopay-icon-btn, .menu-card, .tab-btn, .profil-list-item, .btn-submit, .fingerprint-btn {
    -webkit-tap-highlight-color: transparent !important;
}

/* 2. Efek Menyala Khusus Tombol Lampu Ide Center (Saat Aktif) */
#nav-lampu.active-lamp {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    border-color: #fcd34d;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.3);
    color: #fffbeb;
    transform: scale(1.05);
}
#nav-lampu.active-lamp i {
    text-shadow: 0 0 15px #fef3c7;
    animation: pulseLamp 1.5s infinite alternate;
}

@keyframes pulseLamp {
    0% { opacity: 0.8; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.1); }
}
/* ======================================================== */
/* --- KATA-KATA MOTIVASI: AURORA & PERFECT SLIDE --- */
/* ======================================================== */

/* Pendaran Cahaya Aurora Berkedip Halus */
@keyframes auroraGlow {
    0% {
        border-color: rgba(56, 189, 248, 0.4);
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.2), inset 0 0 10px rgba(56, 189, 248, 0.05);
    }
    50% {
        border-color: rgba(168, 85, 247, 0.8);
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), inset 0 0 20px rgba(168, 85, 247, 0.2);
    }
    100% {
        border-color: rgba(56, 189, 248, 0.4);
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.2), inset 0 0 10px rgba(56, 189, 248, 0.05);
    }
}

.aurora-box {
    animation: auroraGlow 4s ease-in-out infinite;
}

/* Transisi Teks Super Mulus */
.motivasi-slide {
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

.motivasi-slide.slide-out {
    opacity: 0;
    transform: translateX(-40px); /* Geser keluar ke kiri */
}

.motivasi-slide.slide-in-right {
    opacity: 0;
    transform: translateX(40px); /* Muncul dari kanan */
}

#ai-motivation-box:active {
    transform: scale(0.98);
}
/* ======================================================== */
/* --- TOMBOL FILTER KATEGORI (HISTORY SOP) --- */
/* ======================================================== */
.kategori-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s ease;
}
.kategori-btn.active {
    background: linear-gradient(135deg, #db2777, #9d174d);
    border-color: #ec4899;
    color: white;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}
/* ======================================================== */
/* --- MODUL RENCANA KERJA (ADM MOLD) STYLES --- */
/* ======================================================== */
.rk-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}
.rk-input {
    flex: 1;
    text-transform: uppercase;
}
.rk-del-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.rk-update-card {
    background: rgba(15, 23, 42, 0.9);
    border-left: 4px solid #f59e0b;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}
.rk-status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}
.status-proses { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56,189,248,0.5); }
.status-selesai { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16,185,129,0.5); }
.status-gagal { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.5); }
/* ========================================== */
/* ENGINE CSS 3D ISOMETRIK M-TRIX             */
/* ========================================== */
.iso-container {
    width: 100%;
    height: 250px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(15,23,42,1) 0%, rgba(2,6,23,1) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed rgba(56,189,248,0.3);
    cursor: grab;
    touch-action: none; /* Mencegah layar ikut ter-scroll saat memutar map */
}

.iso-plane {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg); /* Sudut kamera 3D */
    transition: transform 0.1s linear;
}

.iso-floor {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    background-color: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(100, 116, 139, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    transform: translateZ(-5px);
}

.iso-machine {
    position: absolute;
    transform-style: preserve-3d;
    border: 1px solid;
    /* Trik manipulasi bayangan berlapis untuk membuat efek ketebalan 3D/Extrude */
    box-shadow: 
        -1px 1px 0 rgba(0,0,0,0.5), -2px 2px 0 rgba(0,0,0,0.5),
        -3px 3px 0 rgba(0,0,0,0.5), -4px 4px 0 rgba(0,0,0,0.5),
        -5px 5px 15px rgba(0,0,0,0.8);
    transform: translateZ(10px); /* Ketinggian balok dari lantai */
    cursor: pointer;
    transition: all 0.3s ease;
}

.iso-machine:active { transform: translateZ(5px); } /* Efek tertekan */

.iso-label {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) translateZ(1px); /* Menempel di atas balok */
    color: white;
    font-size: 11px;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    pointer-events: none;
}

/* Titik Marker Hologram Melayang */
.iso-marker {
    position: absolute;
    top: -15px; left: 50%;
    width: 12px; height: 12px;
    border-radius: 50%;
    transform: translateX(-50%) translateZ(30px); /* Melayang 30px di atas balok */
    box-shadow: 0 0 10px currentColor;
}

.pulse-green { background: #10b981; color: #10b981; animation: pulseG 1.5s infinite; }
.pulse-red { background: #ef4444; color: #ef4444; animation: pulseR 1.5s infinite; }
.pulse-yellow { background: #f59e0b; color: #f59e0b; animation: pulseY 1.5s infinite; }

@keyframes pulseG { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@keyframes pulseR { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.7); } 70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
@keyframes pulseY { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); } 70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
/* ========================================== */
/* ENGINE CSS 3D INDONESIA (ANALISA SCREEN)   */
/* ========================================== */
.indo3d-container { perspective: 1000px; }
.indo3d-plane {
    width: 85vw; /* Ukuran dinamis mengikuti lebar layar HP */
    height: 85vw;
    max-width: 500px; /* Batas maksimal jika dibuka di PC/Desktop */
    max-height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.05s linear;
}
.indo3d-grid-floor {
    position: absolute; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(56,189,248,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,189,248,0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    border: 2px solid rgba(56,189,248,0.5);
    border-radius: 50%; /* Membuat alas bundar seperti radar */
    box-shadow: 0 0 50px rgba(14,165,233,0.3) inset;
    transform: translateZ(0);
}
.indo3d-radar-sweep {
    position: absolute; width: 50%; height: 50%;
    top: 0; left: 50%;
    background: linear-gradient(45deg, rgba(56,189,248,0.5) 0%, transparent 70%);
    transform-origin: bottom left;
    animation: radarSpin 4s linear infinite;
    border-radius: 100% 0 0 0;
}
@keyframes radarSpin { 100% { transform: rotate(360deg); } }

/* Blok Pulau Hologram */
.indo3d-island {
    position: absolute;
    transform-style: preserve-3d;
    cursor: pointer;
}
.indo3d-island-body {
    width: 100%; height: 100%;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.4);
    /* Trik ketebalan 3D (Extrude) */
    box-shadow: 
        0px 1px 0px 0px rgba(255,255,255,0.2),
        -1px 2px 0px 0px rgba(0,0,0,0.5),
        -2px 3px 0px 0px rgba(0,0,0,0.5),
        -3px 4px 0px 0px rgba(0,0,0,0.5),
        -4px 5px 15px rgba(0,0,0,0.8);
    transition: transform 0.2s, filter 0.2s;
}
.indo3d-island:active .indo3d-island-body { transform: translate(-2px, 2px); }

.sumatera-color { background: rgba(14,165,233,0.4); border-color: #0ea5e9; }
.jawa-color { background: rgba(16,185,129,0.5); border-color: #10b981; }
.kalimantan-color { background: rgba(245,158,11,0.4); border-color: #f59e0b; }
.sulawesi-color { background: rgba(14,165,233,0.4); border-color: #0ea5e9; }
.papua-color { background: rgba(14,165,233,0.4); border-color: #0ea5e9; }

.indo3d-text {
    position: absolute;
    top: -20px; left: 50%;
    margin-left: -30px; width: 60px;
    text-align: center;
    color: white; font-size: 9px; font-weight: 900;
    text-shadow: 0px 2px 5px black;
    pointer-events: none;
}
.indo3d-pin {
    position: absolute; top: 50%; left: 50%;
    width: 2px; height: 30px; background: rgba(255,255,255,0.5);
    transform: translate(-50%, -100%) rotateX(-90deg);
    transform-origin: bottom center;
}
.pin-dot {
    position: absolute; top: -10px; left: -4px;
    width: 10px; height: 10px; background: #fff; border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    animation: pulsePin 1s infinite alternate;
}
.pin-special .pin-dot { background: #10b981; box-shadow: 0 0 15px #10b981; width: 14px; height: 14px; top: -14px; left: -6px; }
@keyframes pulsePin { 100% { transform: scale(1.5); opacity: 0.5; } }
/* ========================================== */
/* --- CSS BARU PETA NUSANTARA 2D ELEGANT --- */
/* ========================================== */
.peta-nusantara-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Batas maksimal ukuran di PC */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa; /* Warna dasar terang mengikuti peta */
    border: 2px solid rgba(218, 165, 32, 0.4); /* Border emas tipis */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.peta-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Titik Cahaya Emas ala Radar */
.pin-glow-gold {
    width: 12px;
    height: 12px;
    background-color: #fbbf24; 
    border-radius: 50%;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px #f59e0b;
    animation: pulseGoldMap 1.5s infinite alternate;
}

@keyframes pulseGoldMap {
    0% { transform: scale(0.8); opacity: 0.7; box-shadow: 0 0 10px #fbbf24; }
    100% { transform: scale(1.6); opacity: 1; box-shadow: 0 0 25px #fbbf24, 0 0 40px rgba(245,158,11,0.8); }
}

.map-pin:active {
    transform: translate(-50%, -50%) scale(0.7);
}
