/* ═══════════════════════════════════════════
   TICKER TAPE — dashboard (sticky)
   ═══════════════════════════════════════════ */
.ticker-bar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 28px;
  background: #06090f;
  border-bottom: 1px solid rgba(200,169,110,.28);
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-live {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 0 12px;
  height: 100%;
  background: rgba(200,169,110,.12);
  border-right: 1px solid rgba(200,169,110,.25);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c8a84c;
  white-space: nowrap;
  z-index: 2;
}
.ticker-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: livePulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%,100% { opacity:1; box-shadow:0 0 5px #22c55e; }
  50%      { opacity:.5; box-shadow:0 0 10px #22c55e; }
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
  position: absolute;
  top: 0; left: 0;
}
.tk-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 28px;
  border-right: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.tk-cat   { font-size:.57rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#c8a84c; }
.tk-sym   { font-size:.68rem; font-weight:600; color:rgba(255,255,255,.75); }
.tk-price { font-size:.7rem; font-weight:700; color:#fff; font-family:'Courier New',monospace; }
.tk-chg   { font-size:.65rem; font-weight:700; }
.tk-chg.up   { color:#22c55e; }
.tk-chg.down { color:#ef4444; }
.tk-sep { display:inline-block; width:3px; height:3px; border-radius:50%; background:rgba(200,169,110,.3); margin:0 2px; flex-shrink:0; }

/* Offset header & sidebar */
.dash-header { top: 28px !important; }
.dash-sidebar {
  top: calc(28px + 68px) !important;
  height: calc(100vh - 96px) !important;
}

@media (max-width: 900px) {
  .ticker-bar  { height: 24px; }
  .tk-item     { padding: 0 10px; }
  .tk-cat      { display: none; }
  .dash-header { top: 24px !important; }
  /* sidebar is static on mobile — no top needed */
  .dash-sidebar { top: 0 !important; height: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════
   TICKER TAPE  (dashboard — sticky)
   ═══════════════════════════════════════════════════════════════ */
.ticker-wrap {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 400;
  height: 26px;
  background: #05080f;
  border-bottom: 1px solid rgba(200, 169, 110, 0.22);
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #05080f 40%, transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #05080f 40%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 65s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; cursor: default; }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 26px;
  white-space: nowrap;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: .68rem;
  border-right: 1px solid rgba(255,255,255,.06);
}

.ticker-cat {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c8a96e;
  opacity: .7;
}
.ticker-sym {
  font-size: .69rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.ticker-price {
  font-size: .69rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
}
.ticker-change {
  font-size: .65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.ticker-change.up   { color: #22c55e; }
.ticker-change.down { color: #ef4444; }

.ticker-sep {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(200,169,110,.35);
  margin: 0 4px;
  flex-shrink: 0;
}

/* Offset header and sidebar for ticker height */
.dash-header { top: 26px !important; }
.dash-sidebar {
  top: 68px;
  height: calc(100vh - 68px);
}

/* Mobile */
@media (max-width: 900px) {
  .ticker-item { padding: 0 10px; font-size: .64rem; }
  .ticker-cat  { display: none; }
  /* On mobile, sidebar is static so no top adjustment needed */
  .dash-sidebar { top: 0 !important; height: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════
   loginstyle.css — Login Page + Dashboard
   Waninnie Holdings
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   ① LOGIN PAGE
   ═══════════════════════════════════════════════════════════════ */
.login-page {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,16,24,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 32px; height: 68px;
  display: flex; align-items: center;
}
.login-nav {
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.back-link {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.6); transition: color .2s;
}
.back-link:hover { color: var(--gold-bright); }

.login-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}

/* Left panel */
.login-left {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 60px 52px; background: var(--dark);
}
.login-left-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: .35;
}
.login-left-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,14,22,.55) 0%, rgba(10,14,22,.85) 100%);
}
.login-rings { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.lring { position: absolute; border-radius: 50%; border: 1px solid rgba(200,169,110,.1); animation: lringPulse 5s ease-in-out infinite; }
.lring-1 { width: 320px; height: 320px; animation-delay: 0s; }
.lring-2 { width: 520px; height: 520px; animation-delay: 1.5s; }
.lring-3 { width: 720px; height: 720px; animation-delay: 3s; }
@keyframes lringPulse {
  0%,100% { opacity: .08; transform: scale(1); }
  50%      { opacity: .22; transform: scale(1.015); }
}

.login-brand { position: relative; z-index: 2; max-width: 420px; }
.brand-vault-icon {
  width: 68px; height: 68px;
  background: rgba(184,146,46,.18); border: 1px solid var(--dark-border);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-size: 1.8rem; margin-bottom: 30px;
}
.login-brand h2 { font-family: var(--f-display); font-size: clamp(2rem,3vw,2.9rem); font-weight: 600; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.login-brand h2 em { font-style: italic; color: var(--gold-bright); }
.login-brand > p { font-size: .96rem; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 40px; }

.login-features { display: flex; flex-direction: column; gap: 16px; }
.lf-item { display: flex; align-items: center; gap: 14px; }
.lf-icon { width: 36px; height: 36px; background: rgba(184,146,46,.14); border: 1px solid rgba(200,169,110,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold-bright); font-size: .85rem; flex-shrink: 0; }
.lf-item span { font-size: .9rem; color: rgba(255,255,255,.7); }

.login-left-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .75rem; color: rgba(255,255,255,.4); letter-spacing: .06em; }
.login-left-foot i { color: var(--gold); margin-right: 4px; }
.lfoot-sep { color: rgba(255,255,255,.2); }

/* Right form */
.login-right {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px; background: var(--white);
}
.login-card { width: 100%; max-width: 440px; animation: cardFadeIn .5s ease-out; }
@keyframes cardFadeIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }

.login-secure-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--gold-pale); border: 1px solid rgba(184,146,46,.25); border-radius: 40px; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; }

.login-heading { margin-bottom: 32px; }
.login-heading h1 { font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; color: var(--txt-head); line-height: 1.1; margin-bottom: 10px; }
.login-heading h1 em { font-style: italic; color: var(--gold); }
.login-heading p { font-size: .92rem; color: var(--txt-muted); }

.error-box { display: flex; align-items: center; gap: 10px; background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 24px; font-size: .88rem; animation: shakeX .45s ease; }
@keyframes shakeX { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }

.login-field { margin-bottom: 20px; }
.login-field label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-muted); margin-bottom: 8px; }
.field-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.field-top-row label { margin-bottom: 0; }
.forgot-link { font-size: .82rem; color: var(--gold); font-weight: 500; transition: color .2s; }
.forgot-link:hover { color: var(--gold-bright); text-decoration: underline; }

.field-wrap { position: relative; display: flex; align-items: center; background: var(--cream); border: 1.5px solid var(--b-light); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
.field-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); background: var(--white); }
.field-icon { padding: 0 14px; color: var(--txt-faint); font-size: .95rem; flex-shrink: 0; pointer-events: none; }
.field-wrap input { flex: 1; padding: 14px 14px 14px 0; background: transparent; border: none; outline: none; font-family: var(--f-body); font-size: .95rem; color: var(--txt-head); }
.field-wrap input::placeholder { color: var(--txt-faint); }
.pw-toggle { padding: 0 14px; color: var(--txt-faint); font-size: .9rem; flex-shrink: 0; transition: color .2s; }
.pw-toggle:hover { color: var(--gold); }

.remember-row { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; cursor: pointer; user-select: none; }
.remember-row input[type="checkbox"] { display: none; }
.check-box { width: 18px; height: 18px; border: 1.5px solid var(--b-light); border-radius: 5px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, border-color .2s; }
.check-box i { font-size: .6rem; color: #fff; opacity: 0; transition: opacity .2s; }
.remember-row input:checked ~ .check-box { background: var(--gold); border-color: var(--gold); }
.remember-row input:checked ~ .check-box i { opacity: 1; }
.remember-row > span:last-child { font-size: .88rem; color: var(--txt-muted); }

.login-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px; background: var(--gold); color: #fff; font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: .04em; border-radius: 60px; border: 2px solid var(--gold); transition: background .25s, box-shadow .25s, transform .2s; margin-bottom: 28px; }
.login-btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 8px 28px var(--gold-glow); transform: translateY(-2px); }
.login-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.login-footer-note { text-align: center; }
.login-footer-note p { font-size: .85rem; color: var(--txt-muted); margin-bottom: 10px; }
.login-footer-note a { color: var(--gold); font-weight: 600; }
.login-footer-note a:hover { color: var(--gold-bright); text-decoration: underline; }
.enc-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem !important; color: var(--txt-faint) !important; }
.enc-note i { color: var(--gold); font-size: .75rem; }

/* ═══════════════════════════════════════════════════════════════
   ② DASHBOARD PAGE
   ═══════════════════════════════════════════════════════════════ */
.dashboard-page {
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* ── HEADER (dark, full-width) ── */
.dash-header {
  position: sticky; top: 0; z-index: 300;
  width: 100%;
  background: rgba(12,16,24,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  height: 68px;
  display: flex; align-items: center; flex-shrink: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.dash-header-inner {
  width: 100%; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.dash-header-right { display: flex; align-items: center; gap: 16px; }
.dash-greeting { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.dash-welcome-line { font-size: .88rem; color: rgba(255,255,255,.7); }
.dash-welcome-line strong { color: var(--gold-bright); font-weight: 600; }
.dash-member-id { font-size: .68rem; color: var(--gold); font-family: 'Courier New', monospace; letter-spacing: .05em; }
.dash-avatar-icon {
  width: 38px; height: 38px;
  background: rgba(184,146,46,.18); border: 2px solid var(--dark-border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-size: 1.05rem;
}
.dash-logout-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 30px;
  color: rgba(255,255,255,.65); font-size: .84rem; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.dash-logout-btn:hover { border-color: #ef4444; color: #f87171; background: rgba(239,68,68,.07); }

/* ── BODY LAYOUT ── */
.dash-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 68px);
  align-items: flex-start;
}

/* ─────────────────────────────────────────
   SIDEBAR  — financial info panel
   Desktop: fixed left column
   Mobile:  full-width strip above content
   ───────────────────────────────────────── */
.dash-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--dark);
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

/* Financial cards */
.fin-stack {
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.fin-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 13px;
  padding: 13px 13px;
  transition: background .25s, border-color .25s, transform .2s;
  cursor: default;
}
.fin-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  transform: translateX(4px);
}
.fin-card-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; flex-shrink: 0;
}
.fin-card.outstanding .fin-card-icon { background: rgba(239,68,68,.14);  color: #f87171; }
.fin-card.demurrage   .fin-card-icon { background: rgba(245,158,11,.14); color: #fbbf24; }
.fin-card.paid        .fin-card-icon { background: rgba(34,197,94,.14);  color: #4ade80; }
.fin-card.total       .fin-card-icon { background: rgba(184,146,46,.16); color: var(--gold-bright); }

.fin-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fin-label { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.fin-value { font-family: 'Courier New', monospace; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fin-card.outstanding .fin-value { color: #f87171; }
.fin-card.demurrage   .fin-value { color: #fbbf24; }
.fin-card.paid        .fin-value { color: #4ade80; }
.fin-card.total       .fin-value { color: var(--gold-bright); }

/* Sidebar rule */
.sidebar-rule { height: 1px; background: rgba(255,255,255,.07); }

/* Status block */
.sidebar-status {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; gap: 9px;
  margin-top: auto;
}
.status-row { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: rgba(255,255,255,.32); }
.status-row i { color: rgba(255,255,255,.22); width: 13px; text-align: center; }
.ss-dot-sm {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,.6);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 4px rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 10px rgba(34,197,94,.9); }
}

/* ── MAIN AREA ── */
.dash-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash-content { flex: 1; padding: 22px 24px 0; }

/* ── SECTION WRAPPER ── */
.dash-section {
  background: var(--white);
  border: 1px solid var(--b-card);
  border-radius: var(--r-lg);
  padding: 20px 22px;          /* tighter than before */
  margin-bottom: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 13px;
  border-bottom: 1px solid var(--b-card);
}
.section-head h2 {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--txt-head);
}
.section-head h2 i { color: var(--gold); font-size: 1rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2);
  border-radius: 30px; font-size: .72rem; font-weight: 700; color: #16a34a;
}
.section-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }

/* Hover lift */
.hover-lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.09) !important; }

/* ── DEPOSITOR INFO GRID ── */
.depositor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.dep-card {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--cream); border: 1px solid var(--b-card);
  border-radius: 12px; padding: 13px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.dep-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold-pale); border: 1px solid rgba(184,146,46,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .82rem; flex-shrink: 0;
}
.dep-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dep-label { font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-muted); }
.dep-value { font-size: .88rem; font-weight: 500; color: var(--txt-head); line-height: 1.4; word-break: break-word; }

/* ── CONTENT OF DEPOSIT TABLE ── */
.deposit-table-wrap { border-radius: 12px; border: 1px solid var(--b-card); overflow: hidden; }
.deposit-table { width: 100%; border-collapse: collapse; }
.deposit-table thead tr { background: var(--cream); }
.deposit-table th {
  padding: 12px 18px; text-align: left;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--txt-muted); border-bottom: 2px solid var(--gold);
}
.col-item   { width: 18%; }
.col-desc   { width: 30%; }
.col-detail { width: 52%; }

.deposit-table tbody tr { transition: background .15s; }
.deposit-table tbody tr:hover td { background: rgba(184,146,46,.04); }
.deposit-table td {
  padding: 10px 18px; font-size: .88rem; color: var(--txt-body);
  border-bottom: 1px solid var(--b-card); vertical-align: middle;
}
.deposit-table tbody tr:last-child td { border-bottom: none; }

.item-cell {
  font-family: var(--f-display); font-size: 1.02rem !important;
  font-weight: 600 !important; color: var(--txt-head) !important;
  vertical-align: top !important; padding-top: 16px !important;
  border-right: 2px solid var(--gold-pale);
  background: rgba(184,146,46,.03);
}
.item-label { display: flex; align-items: center; gap: 7px; }
.item-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.item-separator td { background: var(--cream) !important; border-top: 2px solid var(--b-card) !important; padding: 0 !important; height: 7px; }

.detail-box {
  display: inline-block; padding: 7px 14px;
  background: var(--white); border: 1px solid var(--b-card);
  border-radius: 7px; font-size: .88rem; color: var(--txt-head);
  font-weight: 500; min-width: 150px;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
  transition: border-color .2s, box-shadow .2s;
}
.deposit-table tbody tr:hover .detail-box { border-color: rgba(184,146,46,.28); box-shadow: 0 2px 8px rgba(184,146,46,.07); }

/* ── SCROLL REVEAL ── */
.reveal-section {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal-section.visible { opacity: 1; transform: translateY(0); }

/* ── DASHBOARD FOOTER ── */
.dash-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 24px;
}
.dash-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.df-brand { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: rgba(255,255,255,.52); }
.df-brand i { color: var(--gold-bright); }
.df-brand strong { color: rgba(255,255,255,.78); }
.df-center { display: flex; align-items: center; gap: 11px; font-size: .74rem; color: rgba(255,255,255,.38); }
.df-center i { color: var(--gold); }
.df-sep { color: rgba(255,255,255,.18); }
.df-right { font-size: .74rem; color: rgba(255,255,255,.32); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — LOGIN
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .login-main { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 40px 24px; min-height: calc(100vh - 68px); background: var(--cream); }
  .login-card { max-width: 480px; }
}
@media (max-width: 480px) {
  .login-header { padding: 0 18px; }
  .login-right  { padding: 32px 18px; }
  .login-heading h1 { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — DASHBOARD  ≤ 900px
   Sidebar becomes a full-width strip above content (no slide-in)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Stack layout vertically */
  .dash-layout {
    flex-direction: column;
  }

  /* Sidebar: full-width dark strip, not fixed */
  .dash-sidebar {
    width: 100%;
    position: static;          /* flows in document, no slide-in */
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  /* Financial cards: 2×2 grid */
  .fin-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    gap: 10px;
  }
  .fin-card {
    transform: none !important; /* remove hover slide on mobile */
  }
  .fin-card:hover { transform: none !important; }

  /* Hide status block on mobile (not needed in strip) */
  .sidebar-status { display: none; }
  .sidebar-rule   { display: none; }

  /* Main area: full width */
  .dash-main { width: 100%; }

  /* Header adjustments */
  .dash-header-inner { padding: 0 16px; }
  .dash-greeting { display: none; }   /* sidebar strip shows the info */
  .dash-content { padding: 16px 16px 0; }
  .dash-footer  { padding: 16px; }
}

/* Tablet: depositor 2-col */
@media (max-width: 900px) {
  .depositor-grid { grid-template-columns: 1fr 1fr; }
}

/* Small mobile */
@media (max-width: 480px) {
  /* Fin cards: 1 col on very small screens */
  .fin-stack { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .fin-value { font-size: .82rem; }

  /* Depositor: 1 col */
  .depositor-grid { grid-template-columns: 1fr; }

  /* Deposit table: allow horizontal scroll */
  .deposit-table-wrap { overflow-x: auto; }
  .deposit-table { min-width: 480px; }

  .dash-section  { padding: 16px 14px; }
  .detail-box    { min-width: 110px; font-size: .82rem; }
  .df-center, .df-right { display: none; }
  .df-brand      { font-size: .78rem; }
}

