
/* ========== LOCAL FONT FACE (auto-downloaded) ========== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans/PlusJakartaSans-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans/PlusJakartaSans-Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans/PlusJakartaSans-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans/PlusJakartaSans-Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans/PlusJakartaSans-ExtraBold.woff2') format('woff2');
}

/* ============================================
   SIBASAH - Sistem Informasi Bank Sampah
   Style Lengkap dari sibasah-ui.html
   ============================================ */

:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-100: #E8F5E9;
  --green-50:  #F1F8F1;
  --gold:      #F9A825;
  --gold-light:#FFF8E1;
  --red-500:   #E53935;
  --red-100:   #FFEBEE;
  --blue-500:  #1E88E5;
  --blue-100:  #E3F2FD;
  --gray-900:  #1A1A2E;
  --gray-700:  #374151;
  --gray-500:  #6B7280;
  --gray-300:  #D1D5DB;
  --gray-100:  #F3F4F6;
  --gray-50:   #FAFAFA;
  --white:     #FFFFFF;
  --font:      'Plus Jakarta Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --nav-h:     64px;
  --header-h:  60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ========== LAYOUT APP SHELL ========== */
.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

/* ========== SIDEBAR DESKTOP ========== */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform .25s;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-brand-icon i { color: var(--white); font-size: 20px; }
.sidebar-brand-text strong { font-size: 15px; font-weight: 800; color: var(--gray-900); }
.sidebar-brand-text span { font-size: 11px; color: var(--gray-500); display: block; }
.sidebar-nav { padding: 12px 12px; flex: 1; }
.nav-section-label {
  font-size: 10px; font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 12px 8px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .15s;
  cursor: pointer;
  margin-bottom: 2px;
}
.nav-item:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-item.active {
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
}
.nav-item i { font-size: 18px; width: 20px; text-align: center; }
.nav-item .badge-nav {
  margin-left: auto;
  background: var(--red-500);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--gray-100);
}
.user-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
}
.user-mini:hover { background: var(--gray-100); }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.user-info strong { font-size: 13px; font-weight: 700; display: block; }
.user-info span { font-size: 11px; color: var(--gray-500); }

/* ========== MAIN AREA ========== */
.main-area {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== MOBILE HEADER ========== */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.mobile-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.mobile-header .brand-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-header .brand-icon i { color: var(--white); font-size: 16px; }
.mobile-header .brand-name { font-size: 16px; font-weight: 800; color: var(--gray-900); }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 18px;
  position: relative;
}
.icon-btn .dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--red-500);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* ========== PAGE CONTENT ========== */
.page-content {
  flex: 1;
  padding: 24px;
  padding-bottom: calc(24px + var(--nav-h));
}
.page-header {
  margin-bottom: 20px;
}
.page-header .greeting {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

/* ========== SALDO HERO CARD ========== */
.saldo-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.saldo-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.saldo-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(249,168,37,.12);
}
.saldo-label {
  font-size: 12px;
  font-weight: 600;
  opacity: .8;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.saldo-amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.saldo-amount span.rp { font-size: 18px; font-weight: 600; opacity: .85; }
.saldo-sub {
  font-size: 12px;
  opacity: .7;
  margin-top: 4px;
}
.saldo-meta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.saldo-meta-item {
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  backdrop-filter: blur(4px);
}
.saldo-meta-item .lbl { font-size: 10px; opacity: .75; letter-spacing: .3px; margin-bottom: 3px; }
.saldo-meta-item .val { font-size: 15px; font-weight: 700; }
.saldo-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.saldo-btn {
  flex: 1;
  height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity .15s, transform .15s;
}
.saldo-btn:active { opacity: .85; transform: scale(.98); }
.saldo-btn.primary {
  background: var(--gold);
  color: var(--gray-900);
  box-shadow: 0 4px 12px rgba(249,168,37,.4);
}
.saldo-btn.secondary {
  background: rgba(255,255,255,.2);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}

/* ========== QUICK ACTIONS ========== */
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a { font-size: 12px; font-weight: 600; color: var(--green-700); }
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.qa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 8px 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: 1.5px solid transparent;
}
.qa-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qa-item:active { transform: scale(.96); }
.qa-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.qa-label { font-size: 11px; font-weight: 600; color: var(--gray-700); text-align: center; line-height: 1.3; }

/* ========== STATS ROW ========== */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.stat-card .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.stat-card .stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 2px;
}
.stat-card .stat-label {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}
.stat-card .stat-trend {
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ========== TRANSAKSI LIST ========== */
.trx-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.trx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.trx-item:last-child { border-bottom: none; padding-bottom: 0; }
.trx-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.trx-info { flex: 1; min-width: 0; }
.trx-info .trx-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trx-info .trx-date { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.trx-amount {
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.trx-amount.kredit { color: var(--green-700); }
.trx-amount.debit { color: var(--red-500); }

/* ========== BADGE GAMIFIKASI ========== */
.badge-section {
  margin-bottom: 24px;
}
.badges-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.badges-scroll::-webkit-scrollbar { display: none; }
.badge-item {
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  width: 110px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
}
.badge-item.earned { border-color: var(--gold); background: var(--gold-light); }
.badge-emoji { font-size: 32px; margin-bottom: 6px; }
.badge-name { font-size: 11px; font-weight: 700; color: var(--gray-700); line-height: 1.3; }
.badge-item.earned .badge-name { color: #795548; }
.badge-locked { font-size: 10px; color: var(--gray-500); margin-top: 3px; }

/* ========== PENGURUS DASHBOARD EXTRAS ========== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.summary-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
}
.summary-card.green { border-left-color: var(--green-600); }
.summary-card.gold  { border-left-color: var(--gold); }
.summary-card.blue  { border-left-color: var(--blue-500); }
.summary-card.red   { border-left-color: var(--red-500); }
.summary-card .sc-label { font-size: 11px; color: var(--gray-500); font-weight: 600; letter-spacing: .3px; margin-bottom: 6px; }
.summary-card .sc-value { font-size: 14px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.summary-card .sc-sub { font-size: 11px; color: var(--gray-500); margin-top: 4px; }

/* ========== PENDING CARD ========== */
.pending-card {
  background: linear-gradient(135deg, var(--gold-light), #FFF3CD);
  border: 1.5px solid #FFE082;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pending-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pending-info h4 { font-size: 14px; font-weight: 700; color: #5D4037; }
.pending-info p  { font-size: 12px; color: #795548; margin-top: 2px; }
.pending-action {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--gold);
  color: var(--gray-900);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* ========== ANGGOTA LIST ========== */
.anggota-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.anggota-item:last-child { border-bottom: none; }
.anggota-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.anggota-info .name { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.anggota-info .no-rek { font-size: 11px; color: var(--gray-500); font-family: var(--font-mono); }
.anggota-saldo { margin-left: auto; text-align: right; }
.anggota-saldo .val { font-size: 14px; font-weight: 700; color: var(--green-800); }
.anggota-saldo .lbl { font-size: 10px; color: var(--gray-500); }

/* ========== BOTTOM NAV MOBILE ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  z-index: 100;
  padding: 0 8px;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s;
  flex: 1;
  position: relative;
}
.bnav-item i { font-size: 22px; color: var(--gray-500); transition: color .15s; }
.bnav-item span { font-size: 10px; font-weight: 500; color: var(--gray-500); transition: color .15s; }
.bnav-item.active i { color: var(--green-700); }
.bnav-item.active span { color: var(--green-700); font-weight: 700; }
.bnav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--green-600);
  border-radius: 0 0 3px 3px;
}
.bnav-fab {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(46,125,50,.4);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.bnav-fab i { font-size: 24px; color: var(--white); }

/* ========== SIDEBAR OVERLAY ========== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
}
.sidebar-overlay.show { display: block; }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp .4s ease both; }
.anim-2 { animation: fadeUp .4s .08s ease both; }
.anim-3 { animation: fadeUp .4s .16s ease both; }
.anim-4 { animation: fadeUp .4s .24s ease both; }
.anim-5 { animation: fadeUp .4s .32s ease both; }

@keyframes numIn {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: scale(1); }
}
.num-anim { animation: numIn .5s .3s cubic-bezier(.34,1.56,.64,1) both; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .main-area { margin-left: 0; }
  .mobile-header { display: flex; }
  .bottom-nav { display: flex; }
  .page-content { padding: 16px 16px calc(16px + var(--nav-h)); }
  .quick-actions { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .qa-icon { width: 40px; height: 40px; font-size: 18px; }
  .saldo-amount { font-size: 28px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .mobile-header { display: none !important; }
  .bottom-nav { display: none !important; }
}

/* ========== LOGIN SCREEN ========== */
#screen-login {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-500) 100%);
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
#screen-login::before {
  content:'';
  position:absolute; top:-80px; right:-80px;
  width:300px; height:300px;
  border-radius:50%;
  background: rgba(255,255,255,.06);
}
#screen-login::after {
  content:'';
  position:absolute; top:60px; right:40px;
  width:140px; height:140px;
  border-radius:50%;
  background: rgba(249,168,37,.15);
}
.login-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(48px, 12vw, 80px);
}
.login-logo {
  width: 72px; height: 72px;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  margin-bottom: 16px;
}
.login-logo i { font-size: 36px; color: var(--green-800); }
.login-appname {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.login-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.login-card {
  width: 100%;
  background: var(--white);
  border-radius: 32px 32px 0 0;
  padding: 32px 24px 40px;
  box-shadow: 0 -8px 40px rgba(0,0,0,.12);
}
.login-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.login-card p.sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.input-wrap { position: relative; }
.input-wrap i.icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 16px;
}
.form-control {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0 44px 0 44px;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(67,160,71,.15);
  background: var(--white);
}
.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 16px;
  cursor: pointer;
}
.btn-login {
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 4px 16px rgba(46,125,50,.35);
  transition: transform .15s, box-shadow .15s, opacity .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.btn-login:active { transform: scale(.98); opacity: .9; }
.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--gray-500);
}
.login-footer a { color: var(--green-700); font-weight: 600; }
.demo-roles {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.demo-role-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 10px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  transition: all .15s;
  text-align: center;
  cursor: pointer;
}
.demo-role-btn.active {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-800);
}

/* ========== UTILITY ========== */
.text-green { color: var(--green-700); }
.text-red { color: var(--red-500); }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0 !important; }

/* Pastikan login screen tampil penuh */
#screen-login {
    display: flex !important;
}