/* =====================================================================
   OPERATOR MADRASAH — TEMA ISLAMI 3D WARNA-WARNI (assets/style.css)
   Responsif: ponsel kecil, ponsel besar, tablet, laptop & desktop
   ===================================================================== */

@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --text: #1e293b;
  --head: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --side-w: 272px;
  --sh-1: 0 1px 2px rgba(15,23,42,.06), 0 8px 22px -12px rgba(15,23,42,.22);
  --sh-2: 0 4px 10px rgba(15,23,42,.06), 0 24px 48px -20px rgba(15,23,42,.38);
  --sh-3d: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 0 rgba(15,23,42,.03), 0 14px 30px -16px rgba(15,23,42,.30);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230f766e' stroke-opacity='.085' stroke-width='1.2'%3E%3Crect x='24' y='24' width='32' height='32'/%3E%3Crect x='24' y='24' width='32' height='32' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3Cpath d='M0 0l24 24M80 0L56 24M0 80l24-24M80 80L56 56M40 0v17M40 80V63M0 40h17M80 40H63'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230f766e' stroke-opacity='.05' stroke-width='1.2'%3E%3Crect x='24' y='24' width='32' height='32'/%3E%3Crect x='24' y='24' width='32' height='32' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3Cpath d='M0 0l24 24M80 0L56 24M0 80l24-24M80 80L56 56M40 0v17M40 80V63M0 40h17M80 40H63'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='1.2'%3E%3Crect x='24' y='24' width='32' height='32'/%3E%3Crect x='24' y='24' width='32' height='32' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3Cpath d='M0 0l24 24M80 0L56 24M0 80l24-24M80 80L56 56M40 0v17M40 80V63M0 40h17M80 40H63'/%3E%3C/g%3E%3C/svg%3E");
  --side-bg: var(--pattern-w),
    radial-gradient(90% 40% at 100% 0%, rgba(56,189,248,.35), transparent 70%),
    radial-gradient(80% 35% at 0% 100%, rgba(245,158,11,.28), transparent 70%),
    linear-gradient(170deg, #065f46 0%, #0f766e 48%, #0e7490 100%);
  --bs-body-font-family: var(--font);
  --bs-body-color: #1e293b;
  --bs-primary: #059669;
  --bs-primary-rgb: 5,150,105;
  --bs-link-color: #0d9488;
  --bs-link-color-rgb: 13,148,136;
  --bs-link-hover-color: #0f766e;
  --bs-link-hover-color-rgb: 15,118,110;
  --bs-border-radius: 14px;
}

/* =========================== 1. DASAR =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); color: var(--text);
  background: #f3fbf8; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(44rem 30rem at -5% -5%, rgba(16,185,129,.22), transparent 60%),
    radial-gradient(40rem 28rem at 105% -5%, rgba(14,165,233,.20), transparent 60%),
    radial-gradient(42rem 32rem at 105% 105%, rgba(236,72,153,.14), transparent 60%),
    radial-gradient(38rem 30rem at -5% 105%, rgba(245,158,11,.18), transparent 60%),
    linear-gradient(160deg, #f0fdf4 0%, #f0f9ff 48%, #fdf4ff 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pattern); background-size: 80px 80px;
}
h1, h2, h3, h4, h5, h6 { color: var(--head); font-weight: 700; }
a { color: #0d9488; text-decoration: none; transition: color .2s; }
a:hover { color: #0f766e; }
img { max-width: 100%; }
::selection { background: #a7f3d0; color: #064e3b; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(#34d399, #38bdf8); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }

/* ---------- Utilitas ---------- */
.min-w-0 { min-width: 0; }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; }
.fs-xs { font-size: .74rem; } .fs-sm { font-size: .86rem; }
.small-muted { font-size: .8rem; color: var(--muted); }
.text-ink { color: var(--head); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
.arab { font-family: 'Amiri', serif; direction: rtl; line-height: 2; }
.gtext { background: linear-gradient(90deg, #059669, #0ea5e9, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: rgba(255,255,255,.65); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sec-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .82rem; white-space: nowrap; }
.link-more i { transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--a, #34d399), var(--b, #059669)); }
.dot-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }

/* =========================== 2. KERANGKA =========================== */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 1030;
  flex-direction: column; gap: 14px; padding: 20px 16px 18px; color: #fff;
  overflow-y: auto; scrollbar-width: thin;
  background: var(--side-bg); background-size: 80px 80px, auto, auto, auto;
  box-shadow: 10px 0 34px -16px rgba(6,78,59,.55);
}
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 4px; }
.brand:hover { color: #fff; }
.brand-ic {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #fcd34d, #f59e0b);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(0,0,0,.15), 0 10px 20px -8px rgba(245,158,11,.8);
}
.brand-tx { display: flex; flex-direction: column; line-height: 1.15; }
.brand-tx b { font-size: 1.05rem; font-weight: 800; letter-spacing: .07em; }
.brand-tx small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; opacity: .85; }
.brand.dark, .brand.dark:hover { color: var(--head); }
.brand.dark .brand-tx small { color: var(--muted); opacity: 1; }

.side-user {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.side-user .nm { font-weight: 700; font-size: .9rem; }
.side-user .sb { font-size: .74rem; opacity: .82; }

.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 15px;
  color: rgba(255,255,255,.9); font-weight: 500; font-size: .92rem; transition: all .2s;
}
.side-nav a:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateX(3px); }
.side-nav a.active { background: #fff; color: #065f46; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5), inset 0 -3px 0 rgba(6,95,70,.12); }
.side-nav .ib.sm { width: 34px; height: 34px; border-radius: 11px; font-size: .86rem; }
.side-out {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px;
  border-radius: 15px; background: rgba(244,63,94,.2); color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.2);
}
.side-out:hover { background: #e11d48; color: #fff; }

.oc-side { --bs-offcanvas-width: 292px; color: #fff; border: 0 !important; background: var(--side-bg); background-size: 80px 80px, auto, auto, auto; }
.oc-side .offcanvas-header { padding: 18px 16px 4px; }
.oc-side .offcanvas-body { padding: 12px 16px 22px; gap: 14px; }

.main { min-height: 100vh; display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 992px) { .main { margin-left: var(--side-w); } }
@media (max-width: 991.98px) { .main { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }

.topbar {
  position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 12px; padding: 12px 24px;
  background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.8); box-shadow: 0 8px 26px -18px rgba(15,23,42,.4);
}
.tb-brand { font-weight: 800; font-size: .98rem; letter-spacing: .04em; background: linear-gradient(90deg, #059669, #0ea5e9, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-ic {
  width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: #0f766e; font-size: 1.05rem; box-shadow: var(--sh-1); transition: transform .2s;
}
.btn-ic:hover { transform: translateY(-2px); color: #059669; }
.chip-date {
  align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, #ecfdf5, #f0f9ff); border: 1px solid #d1fae5;
  font-size: .8rem; font-weight: 600; color: #0f766e;
}
.chip-date .sep { opacity: .4; }
.content { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px; }
.content > .alert { margin-bottom: 16px; }
.foot { text-align: center; font-size: .78rem; color: var(--muted); padding: 18px 16px 22px; }

.bnav {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1040;
  display: flex; justify-content: space-around; gap: 2px; padding: 8px 6px; border-radius: 22px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 18px 40px -14px rgba(15,23,42,.45), inset 0 1px 0 #fff;
}
.bnav a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 3px 2px; border-radius: 14px; font-size: .67rem; font-weight: 600; color: #64748b; }
.bnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bnav a i { width: 40px; height: 30px; display: grid; place-items: center; border-radius: 12px; font-size: 1.02rem; transition: all .25s; }
.bnav a.active { color: #047857; }
.bnav a.active i { color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 8px 16px -6px rgba(5,150,105,.75), inset 0 -3px 0 rgba(0,0,0,.12); transform: translateY(-3px); }

/* =========================== 3. KARTU & KOMPONEN =========================== */
.c3d {
  position: relative; background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.9);
  border-radius: 24px; padding: 20px; box-shadow: var(--sh-3d); transition: transform .25s, box-shadow .25s;
}
.c3d.hov:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 24px 42px -20px rgba(15,23,42,.4); }

.ch { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ch h2 { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--head); }
.ch small { display: block; margin-top: 2px; font-size: .78rem; color: var(--muted); }

.ib {
  --a: #34d399; --b: #059669;
  position: relative; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 16px;
  display: inline-grid; place-items: center; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.38), inset 0 -4px 0 rgba(0,0,0,.14), 0 10px 18px -8px var(--b);
}
.ib::after { content: ""; position: absolute; inset: 2px 2px 52% 2px; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0)); pointer-events: none; }
.ib > i { position: relative; z-index: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.ib.xs { width: 30px; height: 30px; border-radius: 10px; font-size: .8rem; }
.ib.sm { width: 38px; height: 38px; border-radius: 12px; font-size: .96rem; }
.ib.lg { width: 72px; height: 72px; border-radius: 22px; font-size: 1.9rem; }
.ib.xl { width: 92px; height: 92px; border-radius: 28px; font-size: 2.4rem; }

.stat { display: flex; align-items: center; gap: 14px; }
.stat .num { font-size: 1.65rem; font-weight: 800; line-height: 1.1; color: var(--head); }
.stat .lbl { font-size: .82rem; font-weight: 600; color: #475569; }
.stat .sub { font-size: .73rem; color: var(--muted); }

.hero {
  --a: #34d399; --b: #059669; --c: #0ea5e9;
  position: relative; overflow: hidden; border-radius: 26px; padding: 26px 28px; color: #fff;
  background:
    var(--pattern-w),
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.26), transparent 50%),
    radial-gradient(70% 90% at 0% 0%, var(--a), transparent 62%),
    linear-gradient(125deg, var(--b) 0%, var(--c) 100%);
  background-size: 80px 80px, auto, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 24px 46px -24px var(--b);
}
.hero-body { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero h1 { margin: 0 0 4px; color: #fff; font-weight: 800; font-size: clamp(1.25rem, 1.6vw + .8rem, 1.75rem); text-shadow: 0 2px 10px rgba(0,0,0,.16); }
.hero p { margin: 0; max-width: 760px; font-size: .92rem; opacity: .95; }
.hero-ic {
  width: 64px; height: 64px; flex: 0 0 auto; border-radius: 20px; display: grid; place-items: center; font-size: 1.7rem;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 12px 24px -10px rgba(0,0,0,.35);
}
.hero-deco i { position: absolute; color: rgba(255,255,255,.14); pointer-events: none; }
.hero-deco .d1 { font-size: 7rem; right: -10px; top: -18px; animation: floaty 7s ease-in-out infinite; }
.hero-deco .d2 { font-size: 1.5rem; right: 150px; top: 16px; color: rgba(255,255,255,.55); animation: twinkle 3s ease-in-out infinite; }
.hero-deco .d3 { font-size: 5.5rem; right: 96px; bottom: -26px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-glass {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.32); font-size: .78rem; font-weight: 600; color: #fff;
}

/* ---------- Tombol ---------- */
.btn { border-radius: 14px; font-weight: 600; padding: .62rem 1.1rem; }
.btn-sm { border-radius: 11px; padding: .42rem .78rem; font-size: .82rem; }
.btn-lg { border-radius: 16px; padding: .82rem 1.45rem; font-size: 1rem; }
.btn-sq { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; }
.btn-sq.btn-sm { width: 34px; height: 34px; }
.btn-3d {
  --a: #34d399; --b: #059669;
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-disabled-color: #fff;
  --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; --bs-btn-active-border-color: transparent; --bs-btn-disabled-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 16,185,129;
  border: 0; color: #fff; background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.16), 0 10px 20px -10px var(--b);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-3d:hover { color: #fff; transform: translateY(-2px); filter: saturate(1.1) brightness(1.04); }
.btn-3d:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0,0,0,.22); }
.btn-soft {
  --bs-btn-color: var(--ink, #334155); --bs-btn-hover-color: var(--ink, #334155); --bs-btn-active-color: var(--ink, #334155);
  --bs-btn-bg: var(--sf2, #f1f5f9); --bs-btn-hover-bg: var(--sf2, #f1f5f9); --bs-btn-active-bg: var(--sf2, #f1f5f9);
  --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; --bs-btn-active-border-color: transparent;
  color: var(--ink, #334155); background: var(--sf2, #f1f5f9); border: 1px solid transparent; transition: transform .15s, filter .15s;
}
.btn-soft:hover { transform: translateY(-1px); filter: brightness(.96); }
.btn-glass {
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  --bs-btn-bg: rgba(255,255,255,.2); --bs-btn-hover-bg: rgba(255,255,255,.32); --bs-btn-active-bg: rgba(255,255,255,.38);
  --bs-btn-border-color: rgba(255,255,255,.4); --bs-btn-hover-border-color: rgba(255,255,255,.55); --bs-btn-active-border-color: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-white {
  --bs-btn-color: #0f766e; --bs-btn-hover-color: #059669; --bs-btn-active-color: #059669;
  --bs-btn-bg: #fff; --bs-btn-hover-bg: #fff; --bs-btn-active-bg: #f8fafc;
  --bs-btn-border-color: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-border-color: #f8fafc;
  box-shadow: var(--sh-1);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-light {
  --bs-btn-color: #334155; --bs-btn-hover-color: #0f172a; --bs-btn-bg: #f1f5f9; --bs-btn-border-color: #f1f5f9;
  --bs-btn-hover-bg: #e2e8f0; --bs-btn-hover-border-color: #e2e8f0; --bs-btn-active-bg: #e2e8f0; --bs-btn-active-border-color: #e2e8f0;
}
.btn.is-loading { pointer-events: none; opacity: .88; }
.spin { display: inline-block; width: 1em; height: 1em; margin-right: 7px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- Formulir ---------- */
.form-label { margin-bottom: .35rem; font-weight: 600; font-size: .85rem; color: #334155; }
.form-control, .form-select {
  border-radius: 14px; border: 1.5px solid #e2e8f0; padding: .68rem .95rem; font-size: .93rem;
  background-color: #fff; box-shadow: inset 0 2px 4px rgba(15,23,42,.04); transition: border-color .2s, box-shadow .2s;
}
.form-select { padding-right: 2.4rem; }
.form-control:focus, .form-select:focus { border-color: #34d399; box-shadow: 0 0 0 4px rgba(16,185,129,.16); }
.form-control:disabled, .form-control[readonly] { background-color: #f8fafc; }
.form-control-sm, .form-select-sm { border-radius: 11px; padding: .45rem .75rem; font-size: .84rem; }
textarea.form-control { min-height: 110px; }
.form-text { font-size: .76rem; color: var(--muted); }
.form-check-input:checked { background-color: #10b981; border-color: #10b981; }
.form-check-input:focus { border-color: #34d399; box-shadow: 0 0 0 .25rem rgba(16,185,129,.2); }
.form-switch .form-check-input { width: 2.6em; height: 1.4em; }
.form-range { accent-color: #10b981; }
.form-range::-webkit-slider-thumb { background: linear-gradient(135deg, #34d399, #059669); }
.form-range::-moz-range-thumb { background: #10b981; }
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, 0 0 0 .25rem rgba(16,185,129,.25); }
.input-group-text { border-radius: 14px; border: 1.5px solid #e2e8f0; background: #f8fafc; }

.fld { position: relative; }
.fld > .fi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 2; color: #94a3b8; font-size: .95rem; pointer-events: none; transition: color .2s; }
.fld.ta > .fi { top: 16px; transform: none; }
.fld > .form-control, .fld > .form-select { padding-left: 2.6rem; }
.fld:focus-within > .fi { color: #10b981; }
.fld.pw > .form-control { padding-right: 2.9rem; }
.fld.pw > .form-control.is-valid, .fld.pw > .form-control.is-invalid { padding-right: 4.7rem; background-position: right 46px center; }
.fld > .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #64748b; }
.fld > .eye:hover { background: #f1f5f9; color: #0f766e; }

.pw-meter { margin-top: 8px; }
.pw-meter .bar { height: 7px; border-radius: 99px; background: #e2e8f0; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.pw-meter .bar span { display: block; width: 0; height: 100%; border-radius: inherit; transition: width .3s, background .3s; }
.pw-meter .txt { margin-top: 4px; font-size: .74rem; font-weight: 600; color: var(--muted); }

.dropzone {
  position: relative; padding: 22px 16px; text-align: center; cursor: pointer; border-radius: 18px;
  border: 2px dashed #a7f3d0; background: linear-gradient(135deg, #f0fdf4, #f0f9ff); transition: all .2s;
}
.dropzone:hover, .dropzone.drag { border-color: #10b981; background: linear-gradient(135deg, #dcfce7, #e0f2fe); transform: translateY(-2px); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.dropzone .dz-t { margin-top: 8px; font-weight: 600; color: #0f766e; }
.dropzone .dz-s { font-size: .76rem; color: var(--muted); }
.dz-name { margin-top: 8px; font-size: .82rem; font-weight: 600; color: #065f46; word-break: break-all; }
.dz-name:empty { display: none; }

.photo-up { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.photo-ring {
  position: relative; padding: 6px; border-radius: 50%;
  background: conic-gradient(from 0deg, #10b981, #0ea5e9, #8b5cf6, #ec4899, #f59e0b, #10b981);
  box-shadow: 0 16px 32px -16px rgba(15,23,42,.5);
}
.photo-ring .cam {
  position: absolute; right: 4px; bottom: 4px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; cursor: pointer; border: 3px solid #fff;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 6px 14px -4px rgba(245,158,11,.75);
}

/* ---------- Avatar & cincin progres ---------- */
.ava {
  --s: 44px; width: var(--s); height: var(--s); flex: 0 0 auto; border-radius: 50%;
  display: inline-grid; place-items: center; object-fit: cover; letter-spacing: .02em;
  font-weight: 800; font-size: calc(var(--s) * .36); color: #fff;
  background: linear-gradient(135deg, #10b981, #0ea5e9); border: 3px solid #fff;
  box-shadow: 0 6px 16px -6px rgba(15,23,42,.45);
}
.ava.sm { --s: 38px; border-width: 2px; }
.ava.lg { --s: 96px; border-width: 4px; }
.ava.xl { --s: 128px; border-width: 5px; }

.ring {
  --p: 0; --sz: 128px; --th: 13px; --a: #34d399; --b: #059669; --sf2: #d1fae5;
  position: relative; width: var(--sz); height: var(--sz); flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--a) 0%, var(--b) calc(var(--p) * 1%), var(--sf2) calc(var(--p) * 1%));
  transition: --p 1.3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 14px 28px -16px var(--b);
}
.ring::before { content: ""; position: absolute; inset: var(--th); border-radius: 50%; background: #fff; box-shadow: inset 0 3px 8px rgba(15,23,42,.08); }
.ring > * { position: relative; z-index: 1; text-align: center; }
.ring b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--head); }
.ring small { font-size: .68rem; font-weight: 600; color: var(--muted); }
.ring.sm { --sz: 92px; --th: 10px; }
.ring.sm b { font-size: 1.2rem; }
.ring.glass { --a: #fde68a; --b: #ffffff; --sf2: rgba(255,255,255,.22); box-shadow: none; }
.ring.glass::before { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 2px 6px rgba(0,0,0,.12); }
.ring.glass b { color: #fff; }
.ring.glass small { color: rgba(255,255,255,.88); }

.prog { height: 8px; border-radius: 99px; background: var(--sf2, #e2e8f0); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.prog > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--a, #34d399), var(--b, #059669)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

/* ---------- Langkah (wizard) ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.step { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #f1f5f9; color: #64748b; font-size: .82rem; font-weight: 600; transition: all .3s; }
.step .n { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #94a3b8; font-weight: 800; box-shadow: var(--sh-1); }
.step.done { background: linear-gradient(135deg, #d1fae5, #e0f2fe); color: #065f46; }
.step.done .n { font-size: 0; color: #fff; background: linear-gradient(135deg, #34d399, #059669); }
.step.done .n::after { content: "\f00c"; font: 900 .85rem 'Font Awesome 6 Free'; }
.wz-prog { height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin: -6px 0 18px; }
.wz-prog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #0ea5e9, #8b5cf6); transition: width .4s; }
.sec-box { padding: 18px; margin-bottom: 16px; border-radius: 20px; border: 1px solid var(--sf2, #e2e8f0); }

/* ---------- Daftar data berwarna ---------- */
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.kv-item { position: relative; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--sf2, #e2e8f0); transition: transform .2s, box-shadow .2s; }
.kv-item:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -18px var(--b, #059669); }
.kv-item.wide { grid-column: 1 / -1; }
.kv-item .k { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink, #475569); opacity: .85; }
.kv-item .v { font-size: .95rem; font-weight: 700; color: var(--head); word-break: break-word; }
.kv-item .cp { margin-left: auto; width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 10px; background: rgba(255,255,255,.75); color: var(--b, #059669); box-shadow: var(--sh-1); }
.kv-item .cp:hover { background: #fff; transform: scale(1.06); }

.li-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--sf2, #e2e8f0); color: inherit; transition: transform .2s, box-shadow .2s; }
.li-row + .li-row { margin-top: 10px; }
.li-row:hover { color: inherit; transform: translateX(3px); box-shadow: 0 14px 26px -18px var(--b, #059669); }
.li-row .tt { font-size: .94rem; font-weight: 700; line-height: 1.35; color: var(--head); }
.li-row .mt { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: .74rem; color: var(--muted); }
.li-row .ex { margin-top: 6px; font-size: .84rem; color: #475569; }

.tile { position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; padding: 18px; border-radius: 22px; border: 1px solid var(--sf2, #e2e8f0); background: #fff; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 24px 38px -22px var(--b, #059669); }
.tile .ft { position: absolute; right: -12px; bottom: -18px; font-size: 6rem; color: var(--b, #059669); opacity: .07; pointer-events: none; }
.tile h3 { margin: 12px 0 6px; font-size: .98rem; font-weight: 700; line-height: 1.35; color: var(--head); }
.tile p { margin: 0 0 12px; font-size: .82rem; color: #475569; }
.tile .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; margin-bottom: 12px; }
.tile .pin { position: absolute; top: 14px; right: 14px; z-index: 1; }

.bdg { --sf2: #e2e8f0; --ink: #334155; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .71rem; font-weight: 700; white-space: nowrap; background: var(--sf2); color: var(--ink); border: 1px solid rgba(255,255,255,.6); }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; background: #fff; color: #475569; font-weight: 600; font-size: .83rem; border: 1px solid #f1f5f9; box-shadow: var(--sh-1); transition: all .2s; }
.chip:hover { color: var(--b, #059669); transform: translateY(-2px); }
.chip.on { color: #fff; background: linear-gradient(135deg, var(--a, #34d399), var(--b, #059669)); box-shadow: 0 10px 18px -10px var(--b, #059669); }
.chip .cnt { padding: 1px 7px; border-radius: 99px; background: rgba(15,23,42,.08); font-size: .7rem; }
.chip.on .cnt { background: rgba(255,255,255,.26); }

.searchbar { display: flex; flex-wrap: wrap; gap: 10px; }
.searchbar .fld { flex: 1; min-width: 200px; }

.qa { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; text-align: center; border-radius: 22px; border: 1px solid var(--sf2, #e2e8f0); color: var(--head); font-weight: 700; font-size: .85rem; transition: transform .25s, box-shadow .25s; }
.qa:hover { color: var(--ink, #0f172a); transform: translateY(-6px) rotateX(6deg); box-shadow: 0 24px 36px -20px var(--b, #059669); }
.qa small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.qa .ib { transition: transform .3s; }
.qa:hover .ib { transform: scale(1.08) rotate(-6deg); }

.tip { height: 100%; display: flex; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--sf2, #e2e8f0); }
.tip b { display: block; font-size: .9rem; color: var(--head); }
.tip p { margin: 2px 0 0; font-size: .8rem; color: #475569; }

.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: .84rem; border: 1px solid var(--sf2, #e2e8f0); background: var(--sf, #f8fafc); color: var(--ink, #334155); }
.note > i { margin-top: 3px; }

.quote {
  position: relative; overflow: hidden; padding: 22px; border-radius: 24px; color: #fff;
  background: var(--pattern-w), linear-gradient(135deg, #7c3aed, #db2777 62%, #f59e0b 135%); background-size: 80px 80px, auto;
  box-shadow: 0 22px 42px -24px #7c3aed;
}
.quote .qi { position: absolute; right: 16px; top: 8px; font-size: 4rem; opacity: .15; }
.quote .arab { margin-bottom: 8px; font-size: 1.5rem; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.quote .tr { font-size: .88rem; font-style: italic; opacity: .96; }
.quote .src { margin-top: 8px; font-size: .75rem; font-weight: 600; opacity: .88; }

.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(#34d399, #38bdf8, #a78bfa); }
.tl-item { position: relative; padding: 8px 0 12px; }
.tl-item::before { content: ""; position: absolute; left: -23px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.tl-item b { font-size: .86rem; }
.tl-item small { display: block; font-size: .75rem; color: var(--muted); }

.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; font-size: .84rem; font-weight: 600; }
.bar-track { height: 14px; border-radius: 99px; background: #f1f5f9; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.08); }
.bar-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--a, #34d399), var(--b, #059669)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.mini > div { padding: 10px 8px; text-align: center; border-radius: 14px; border: 1px solid var(--sf2, #e2e8f0); }
.mini b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ink, #0f172a); }
.mini small { font-size: .7rem; font-weight: 600; color: var(--muted); }
.out-box { padding: 12px 14px; border-radius: 14px; background: #f8fafc; border: 1.5px dashed #cbd5e1; font-size: .86rem; word-break: break-all; }
.img-prev { display: block; max-width: 100%; max-height: 260px; margin: 0 auto; border-radius: 16px; box-shadow: var(--sh-1); }
.nsm-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.nsm-seg .sg { flex: 1; min-width: 92px; padding: 9px 8px; text-align: center; border-radius: 14px; border: 1px solid var(--sf2, #e2e8f0); }
.nsm-seg .sg b { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.1rem; letter-spacing: .1em; color: var(--ink); }
.nsm-seg .sg small { font-size: .7rem; color: #475569; }

/* ---------- Tabel ---------- */
.tbl-wrap { overflow: auto; border-radius: 18px; border: 1px solid #eef2f7; background: #fff; }
.tbl { width: 100%; margin: 0; font-size: .86rem; border-collapse: separate; border-spacing: 0; }
.tbl thead th { position: sticky; top: 0; z-index: 1; padding: 12px 14px; text-align: left; white-space: nowrap; font-size: .73rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #065f46; background: linear-gradient(135deg, #ecfdf5, #f0f9ff); border-bottom: 1px solid #d1fae5; }
.tbl td { padding: 11px 14px; vertical-align: middle; border-bottom: 1px solid #f1f5f9; }
.tbl tbody tr:nth-child(even) td { background: #fafcff; }
.tbl tbody tr:hover td { background: #f0fdf4; }
.tbl tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 767.98px) {
  .tbl-wrap.st { overflow: visible; border: 0; background: transparent; }
  .tbl.stack thead { display: none; }
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr { margin-bottom: 12px; padding: 8px 4px; border-radius: 18px; background: #fff; border: 1px solid #eef2f7; box-shadow: var(--sh-3d); }
  .tbl.stack td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 14px; border: 0; text-align: right; background: transparent !important; }
  .tbl.stack td::before { content: attr(data-label); flex: 0 0 auto; text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
  .tbl.stack td[data-label=""]::before { display: none; }
  .tbl.stack td.full { display: block; text-align: left; }
  .tbl.stack td.full::before { display: block; margin-bottom: 4px; }
}

/* ---------- Halaman & navigasi kecil ---------- */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pager a, .pager .gap { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 13px; font-size: .85rem; font-weight: 700; }
.pager a { background: #fff; color: #334155; box-shadow: var(--sh-1); transition: transform .2s; }
.pager a:hover { color: #059669; transform: translateY(-2px); }
.pager a.on { color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 10px 18px -10px #059669; }
.pager .gap { color: var(--muted); }
.empty { padding: 36px 16px; text-align: center; font-size: .9rem; font-weight: 500; color: var(--muted); }

.nav-3d { gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.nav-3d .nav-link { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 14px; white-space: nowrap; font-size: .86rem; font-weight: 600; color: #475569; background: #fff; box-shadow: var(--sh-1); }
.nav-3d .nav-link:hover { color: #059669; }
.nav-3d .nav-link.active, .nav-3d .nav-link.active:hover { color: #fff; background: linear-gradient(135deg, #10b981, #0ea5e9); box-shadow: 0 12px 20px -12px #0ea5e9; }

/* ---------- Pesan, notifikasi, modal, dropdown ---------- */
.alert-3d { border: 0; border-left: 5px solid; border-radius: 16px; padding: .85rem 2.8rem .85rem 1rem; font-weight: 500; font-size: .9rem; box-shadow: var(--sh-1); }
.alert-3d.alert-success { background: linear-gradient(135deg, #ecfdf5, #f0fdfa); color: #065f46; border-left-color: #10b981; }
.alert-3d.alert-danger { background: linear-gradient(135deg, #fff1f2, #fdf2f8); color: #9f1239; border-left-color: #e11d48; }
.alert-3d.alert-warning { background: linear-gradient(135deg, #fffbeb, #fff7ed); color: #92400e; border-left-color: #f59e0b; }
.alert-3d.alert-info { background: linear-gradient(135deg, #f0f9ff, #eef2ff); color: #075985; border-left-color: #0ea5e9; }

.toast-wrap { position: fixed; top: 16px; right: 16px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.tst { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: .88rem; font-weight: 500; border-left: 5px solid var(--b, #059669); box-shadow: var(--sh-2); animation: tstIn .35s ease both; }
.tst.out { animation: tstOut .3s ease forwards; }
@media (max-width: 575.98px) { .toast-wrap { left: 16px; right: 16px; width: auto; } }

.modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(15,23,42,.45); }
.modal-header { border-bottom: 0; padding: 16px 20px; background: linear-gradient(135deg, #ecfdf5, #f0f9ff); }
.modal-title { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 700; }
.modal-footer { border-top: 0; padding: 12px 20px 18px; }
.modal-backdrop.show { opacity: .45; }
.dropdown-menu { min-width: 220px; padding: 8px; border: 0; border-radius: 18px; box-shadow: var(--sh-2); }
.dropdown-item { border-radius: 12px; padding: 9px 12px; font-size: .88rem; font-weight: 500; }
.dropdown-item:active { background: #10b981; }

.to-top { position: fixed; right: 16px; bottom: 24px; z-index: 1035; width: 44px; height: 44px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 12px 22px -10px #059669, inset 0 -3px 0 rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 991.98px) { .to-top { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* =========================== 4. HALAMAN TAMU (LOGIN) =========================== */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 14px; }
.auth-card {
  width: 100%; max-width: 1040px; display: grid; grid-template-columns: 1fr; overflow: hidden; border-radius: 30px;
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(6,78,59,.45), inset 0 1px 0 #fff; animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) backwards;
}
.auth-card.narrow { max-width: 520px; }
.auth-card.mid { max-width: 780px; }
@media (min-width: 992px) { .auth-card { grid-template-columns: 1.05fr 1fr; } .auth-card.narrow, .auth-card.mid { grid-template-columns: 1fr; } }
.auth-side {
  position: relative; overflow: hidden; flex-direction: column; gap: 20px; padding: 44px 38px 34px; color: #fff;
  background: var(--pattern-w), radial-gradient(90% 70% at 100% 0%, rgba(56,189,248,.55), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(245,158,11,.45), transparent 60%), linear-gradient(160deg, #065f46, #0f766e 45%, #0e7490);
  background-size: 80px 80px, auto, auto, auto;
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side .bism { font-family: 'Amiri', serif; font-size: 1.7rem; text-align: center; direction: rtl; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.auth-side h1 { margin: 0; font-size: 1.65rem; font-weight: 800; color: #fff; }
.auth-side p { margin: 0; font-size: .92rem; opacity: .93; }
.auth-mosque { position: absolute !important; right: -30px; bottom: -34px; z-index: 0 !important; font-size: 12rem; color: rgba(255,255,255,.08); transform: rotate(-8deg); }
.hang { position: absolute !important; top: 0; z-index: 0 !important; display: flex; flex-direction: column; align-items: center; transform-origin: top center; animation: swing 4s ease-in-out infinite; }
.hang::before { content: ""; width: 2px; height: var(--h, 60px); background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.6)); }
.hang i { font-size: 1.3rem; color: #fde68a; filter: drop-shadow(0 0 10px rgba(253,230,138,.9)); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; font-size: .86rem; font-weight: 500; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.side-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.side-stats > div { flex: 1; min-width: 80px; padding: 10px 8px; text-align: center; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.side-stats b { display: block; font-size: 1.3rem; font-weight: 800; }
.side-stats small { font-size: .7rem; opacity: .88; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 38px 36px; }
.auth-main h2 { margin: 0; font-size: 1.45rem; font-weight: 800; }
.auth-mob { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--muted); }
.or-line { display: flex; align-items: center; gap: 10px; margin: 16px 0; font-size: .76rem; color: var(--muted); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: .86rem; font-weight: 500; }
.checks li i { width: 20px; text-align: center; }
.checks li.ok { background: #ecfdf5; color: #065f46; }
.checks li.no { background: #fff1f2; color: #9f1239; }

/* ---------- Profil ---------- */
.prof-head { position: relative; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--sh-3d); }
.prof-cover { height: 130px; background: var(--pattern-w), radial-gradient(60% 120% at 0% 0%, #34d399, transparent 60%), linear-gradient(120deg, #059669, #0ea5e9 50%, #8b5cf6); background-size: 80px 80px, auto, auto; }
.prof-info { position: relative; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-top: -58px; padding: 0 22px 20px; }
.prof-info .nm { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--head); }

/* =========================== 5. ANIMASI =========================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-10px) rotate(-6deg); } }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes swing { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes tstIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tstOut { to { opacity: 0; transform: translateX(30px); } }
.fu { animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) backwards; }
.stagger > * { animation: fadeUp .55s cubic-bezier(.2,.8,.2,1) backwards; }
.stagger > *:nth-child(1) { animation-delay: .03s; } .stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .13s; } .stagger > *:nth-child(4) { animation-delay: .18s; }
.stagger > *:nth-child(5) { animation-delay: .23s; } .stagger > *:nth-child(6) { animation-delay: .28s; }
.stagger > *:nth-child(7) { animation-delay: .33s; } .stagger > *:nth-child(8) { animation-delay: .38s; }
.stagger > *:nth-child(9) { animation-delay: .43s; } .stagger > *:nth-child(10) { animation-delay: .48s; }
.stagger > *:nth-child(11) { animation-delay: .53s; } .stagger > *:nth-child(12) { animation-delay: .58s; }

/* =========================== 6. RESPONSIF =========================== */
@media (max-width: 991.98px) {
  .auth-main { padding: 30px 28px; }
}
@media (max-width: 767.98px) {
  .content { padding: 16px 14px; }
  .bar-row { grid-template-columns: 84px 1fr auto; gap: 8px; font-size: .78rem; }
  .prof-info { justify-content: center; text-align: center; }
  .prof-info > div { width: 100%; }
}
@media (max-width: 575.98px) {
  .topbar { padding: 10px 14px; }
  .c3d { padding: 16px; border-radius: 20px; }
  .hero { padding: 20px 18px; border-radius: 22px; }
  .hero-ic { width: 52px; height: 52px; border-radius: 16px; font-size: 1.35rem; }
  .hero-deco .d1 { font-size: 5rem; }
  .hero-deco .d3 { display: none; }
  .ib { width: 44px; height: 44px; border-radius: 14px; font-size: 1.1rem; }
  .ib.lg { width: 62px; height: 62px; border-radius: 19px; font-size: 1.6rem; }
  .stat .num { font-size: 1.35rem; }
  .step { justify-content: center; padding: 9px 6px; }
  .step .t { display: none; }
  .auth { padding: 14px 10px; }
  .auth-card { border-radius: 24px; }
  .auth-main { padding: 24px 18px; }
  .kv { grid-template-columns: 1fr; }
  .tile, .qa { border-radius: 18px; }
}

/* =========================== 7. SISTEM WARNA ===========================
   em=zamrud  sk=langit  vi=ungu  am=amber  pk=merah muda
   te=toska   ro=mawar   or=oranye in=nila  li=hijau limau
   g- = gradasi 3D • t- = latar lembut bermotif • b- = lencana
   c- = warna teks • k- = variabel saja • hero- = latar hero
   ======================================================================= */
.g-em, .t-em, .c-em, .b-em, .k-em, .hero-em { --a: #34d399; --b: #059669; --c: #0ea5e9; --sf: #ecfdf5; --sf2: #d1fae5; --ink: #065f46; }
.g-sk, .t-sk, .c-sk, .b-sk, .k-sk, .hero-sk { --a: #38bdf8; --b: #0284c7; --c: #6366f1; --sf: #f0f9ff; --sf2: #e0f2fe; --ink: #075985; }
.g-vi, .t-vi, .c-vi, .b-vi, .k-vi, .hero-vi { --a: #a78bfa; --b: #7c3aed; --c: #db2777; --sf: #f5f3ff; --sf2: #ede9fe; --ink: #5b21b6; }
.g-am, .t-am, .c-am, .b-am, .k-am, .hero-am { --a: #fbbf24; --b: #d97706; --c: #ea580c; --sf: #fffbeb; --sf2: #fef3c7; --ink: #92400e; }
.g-pk, .t-pk, .c-pk, .b-pk, .k-pk, .hero-pk { --a: #f472b6; --b: #db2777; --c: #8b5cf6; --sf: #fdf2f8; --sf2: #fce7f3; --ink: #9d174d; }
.g-te, .t-te, .c-te, .b-te, .k-te, .hero-te { --a: #2dd4bf; --b: #0d9488; --c: #0284c7; --sf: #f0fdfa; --sf2: #ccfbf1; --ink: #115e59; }
.g-ro, .t-ro, .c-ro, .b-ro, .k-ro, .hero-ro { --a: #fb7185; --b: #e11d48; --c: #f97316; --sf: #fff1f2; --sf2: #ffe4e6; --ink: #9f1239; }
.g-or, .t-or, .c-or, .b-or, .k-or, .hero-or { --a: #fb923c; --b: #ea580c; --c: #e11d48; --sf: #fff7ed; --sf2: #ffedd5; --ink: #9a3412; }
.g-in, .t-in, .c-in, .b-in, .k-in, .hero-in { --a: #818cf8; --b: #4f46e5; --c: #a855f7; --sf: #eef2ff; --sf2: #e0e7ff; --ink: #3730a3; }
.g-li, .t-li, .c-li, .b-li, .k-li, .hero-li { --a: #a3e635; --b: #65a30d; --c: #059669; --sf: #f7fee7; --sf2: #ecfccb; --ink: #3f6212; }

.g-em, .g-sk, .g-vi, .g-am, .g-pk, .g-te, .g-ro, .g-or, .g-in, .g-li {
  background: linear-gradient(135deg, var(--a), var(--b)); color: #fff;
}
.t-em, .t-sk, .t-vi, .t-am, .t-pk, .t-te, .t-ro, .t-or, .t-in, .t-li {
  background: var(--pattern-s), radial-gradient(120% 100% at 100% 0%, var(--sf2), transparent 55%), linear-gradient(145deg, var(--sf) 0%, #ffffff 88%);
  background-size: 80px 80px, auto, auto; border-color: var(--sf2);
}
.c-em, .c-sk, .c-vi, .c-am, .c-pk, .c-te, .c-ro, .c-or, .c-in, .c-li { color: var(--b); }
.b-em, .b-sk, .b-vi, .b-am, .b-pk, .b-te, .b-ro, .b-or, .b-in, .b-li { background: var(--sf2); color: var(--ink); }

/* =========================== 8. CETAK & AKSESIBILITAS =========================== */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sidebar, .topbar, .bnav, .foot, .to-top, .toast-wrap, .no-print, .btn, .cp, .alert { display: none !important; }
  .main { margin: 0 !important; padding: 0 !important; }
  .content { padding: 0; max-width: none; }
  body::before, body::after { display: none; }
  .c3d, .kv-item, .tile, .li-row { box-shadow: none !important; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}