:root{
  --bs-primary:#2E7D32;
  --bs-primary-rgb:46,125,50;
  --bs-secondary:#1F3A5F;
  --bs-secondary-rgb:31,58,95;
  --bs-body-bg:#F5F7FA;
  --bs-border-radius:16px;
  --bs-border-radius-lg:18px;
  --bs-border-radius-sm:12px;
  --bs-body-font-family:'Inter',sans-serif;
  --brand-light:#4CAF50;
}
body{background:var(--bs-body-bg); color:#0F172A; min-height:100vh; display:flex; flex-direction:column;}
h1,h2,h3,h4,h5,h6,.navbar-brand,.brand-font,.fw-poppins{font-family:'Poppins',sans-serif;}
.text-navy{color:var(--bs-secondary)!important;}
.bg-navy{background:var(--bs-secondary)!important;}
.btn-primary{--bs-btn-bg:var(--bs-primary); --bs-btn-border-color:var(--bs-primary); --bs-btn-hover-bg:#276b2a; --bs-btn-hover-border-color:#276b2a;}
.btn-outline-primary{--bs-btn-color:var(--bs-primary); --bs-btn-border-color:var(--bs-primary); --bs-btn-hover-bg:var(--bs-primary);}
.link-primary{color:var(--bs-primary)!important;}
a{text-decoration:none;}
.shadow-soft{box-shadow:0 2px 10px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06);}
.rounded-xl{border-radius:18px!important;}
.icon-tile{width:52px;height:52px;border-radius:14px;background:#E8F5E9;color:var(--bs-primary);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}
.brand-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,var(--brand-light),var(--bs-primary));display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;}

/* ===== LANDING ===== */
.landing-navbar{background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.06);}
.landing-navbar .nav-link{color:#334155; font-weight:500; font-size:14.5px;}
.landing-navbar .nav-link:hover{color:var(--bs-primary);}
.hero{
  position:relative; color:#fff; padding:120px 0 90px 0;
  background-image:
    linear-gradient(160deg, rgba(31,58,95,.90), rgba(46,125,50,.85)),
    var(--hero-bg-image, url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1600&auto=format&fit=crop'));
  background-size: cover;
  background-position: center;
}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:rgba(255,255,255,.14);padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);}
.hero h1{font-size:2.5rem; font-weight:700; line-height:1.25; max-width:680px;}
.hero p.lead{max-width:600px; opacity:.9; font-size:1.02rem;}
.section{padding:72px 0;}
.section-title .eyebrow-sm{color:var(--bs-primary); font-weight:700; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;}
.section-title h2{font-size:1.75rem; color:var(--bs-secondary);}
.bidang-card{transition:.2s;}
.bidang-card:hover{transform:translateY(-4px); box-shadow:0 12px 28px rgba(16,24,40,.1);}
.struktur-box{background:#fff;border:1.5px dashed #CBD5E1;border-radius:18px;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94A3B8;}
.news-card .date-badge{font-size:11px;font-weight:700;color:var(--bs-primary);background:#E8F5E9;padding:4px 10px;border-radius:8px;display:inline-block;}
.map-box{background:#E2E8F0;border-radius:18px;overflow:hidden;}
footer.site-footer{background:var(--bs-secondary); color:#CBD5E1; padding:48px 0 20px 0; margin-top:auto;}
footer.site-footer a{color:#CBD5E1;}
footer.site-footer a:hover{color:#fff;}
footer.site-footer .social-btn{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;}
.avatar-circle{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--brand-light),var(--bs-secondary));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-family:'Poppins';font-size:13px; flex-shrink:0;}
.avatar-circle.lg{width:96px;height:96px;border-radius:22px;font-size:30px;}

/* ===== LOGIN ===== */
.login-hero-col{
  position:relative; color:#fff; display:flex; flex-direction:column; justify-content:space-between; padding:56px; min-height:100vh;
  background-image:
    linear-gradient(165deg, rgba(46,125,50,.90), rgba(31,58,95,.85)),
    var(--login-bg-image, url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1400&auto=format&fit=crop'));
  background-size: cover;
  background-position: center;
}
.login-card-wrap{display:flex;align-items:center;justify-content:center;background:#fff;min-height:100vh;}

/* ===== APP SHELL ===== */
.sidebar{
  width:264px; flex-shrink:0; background:var(--bs-secondary); color:#fff; min-height:100vh;
  position:sticky; top:0; align-self:flex-start; padding:20px 14px; display:flex; flex-direction:column;
}
.sidebar .nav-link{color:#CBD5E1; font-size:13.8px; font-weight:500; padding:10px 12px; border-radius:11px; display:flex; align-items:center; gap:11px; margin-bottom:2px;}
.sidebar .nav-link:hover{background:rgba(255,255,255,.06); color:#fff;}
.sidebar .nav-link.active{background:rgba(76,175,80,.2); color:#fff; box-shadow:inset 3px 0 0 var(--brand-light);}
.sidebar .nav-label{font-size:10.5px; font-weight:700; letter-spacing:.09em; color:#5C7A9B; padding:14px 12px 6px 12px; text-transform:uppercase;}
.app-main{flex:1; min-width:0; padding:24px 30px 60px 30px;}
.stat-glass{background:rgba(255,255,255,.75); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.6);}
.directory-card{transition:.15s;}
.directory-card:hover{box-shadow:0 10px 24px rgba(16,24,40,.09); transform:translateY(-2px);}
.directory-card .contact-line{font-size:12.5px; color:#64748B; display:flex; align-items:center; gap:8px; margin-bottom:6px;}
.copy-btn{width:30px;height:30px;border-radius:9px;}
.wizard-steps{display:flex; align-items:center; margin-bottom:28px;}
.w-step{flex:1; text-align:center; position:relative;}
.w-step .circ{width:34px;height:34px;border-radius:50%;background:#E9EDF2;color:#94A3B8;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-family:'Poppins';font-size:13px;border:2px solid transparent; cursor:pointer;}
.w-step.done .circ{background:var(--bs-primary); color:#fff;}
.w-step.current .circ{background:#fff; color:var(--bs-primary); border-color:var(--bs-primary);}
.w-step .lbl{display:block; font-size:12px; font-weight:600; color:#94A3B8; margin-top:6px;}
.w-step.done .lbl,.w-step.current .lbl{color:#0F172A;}
.w-step:not(:last-child)::after{content:'';position:absolute;top:17px;left:calc(50% + 24px);right:calc(-50% + 24px);height:2px;background:#E9EDF2;}
.w-step.done:not(:last-child)::after{background:var(--bs-primary);}
.badge-soft-success{background:#E8F5E9;color:var(--bs-primary);}
.badge-soft-warning{background:#FEF3C7;color:#B45309;}
.badge-soft-danger{background:#FEE2E2;color:#B91C1C;}
.badge-soft-info{background:#EFF6FF;color:#2563EB;}
.doc-icon-pdf{background:#FEF3F2;color:#EF4444;}
.doc-icon-docx{background:#F0FDF4;color:#16A34A;}
.doc-icon-lain{background:#EFF6FF;color:#2563EB;}
@media (max-width:991px){ .sidebar{position:fixed; z-index:1050; transform:translateX(-100%); transition:.2s;} .sidebar.show{transform:none;} .app-main{padding:20px 16px;} }
