/* ===========================================
   FDIC Direct Trust — Panel Styles
   =========================================== */
:root {
  --navy-900: #003256;
  --navy-800: #003d72;
  --navy-700: #004b8d;
  --navy-600: #3c4d61;
  --gold-500: #fdb81e;
  --gold-600: #e0a418;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-300: #cfd4db;
  --gray-500: #8b93a1;
  --gray-600: #667085;
  --gray-700: #475467;
  --green-500: #14a06b;
  --green-100: #e3f6ee;
  --red-500: #e0483e;
  --red-100: #fdeceb;
  --blue-100: #e6efff;
  --blue-600: #2f6fe0;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, Segoe UI, sans-serif;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow-md: 0 2px 8px rgba(16,24,40,.08);
  --shadow-lg: 0 12px 30px rgba(16,24,40,.14);
  --radius: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--gray-100);
  color: var(--navy-900);
  line-height: 1.55;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* ============ LOGIN ============ */
.government-banner { background: #f0f0f0; padding: 0.35rem 0; border-bottom: 1px solid #ddd; }
.banner-inner { display: flex; align-items: center; justify-content: space-between; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.banner-left { display: flex; align-items: center; gap: 0.5rem; }
.banner-left span { color: #444; font-size: 0.72rem; }
.banner-left .flag-icon { width: 18px; height: auto; }

.secondary-banner { background: #fff; padding: 0.5rem 0; }
.banner-spacer { flex: 1; }
.banner-right { display: flex; align-items: center; gap: 1.5rem; }
.espanol-link { color: #2563eb; font-size: 0.8rem; font-style: italic; }
.espanol-link:hover { text-decoration: underline; }
.header-search { display: flex; align-items: center; height: 30px; }
.header-search input { border: 1px solid #aaa; border-right: none; outline: none; padding: 0 0.7rem; font-size: 0.8rem; width: 200px; height: 100%; color: #333; background: #fff; }
.header-search input::placeholder { color: #999; font-style: italic; }
.header-search button { background: var(--navy-900); border: 1px solid var(--navy-900); color: #fff; width: 32px; height: 100%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.header-search button svg { width: 14px; height: 14px; }

.gold-divider { height: 5px; background: #c3a43e; }

.main-header { background: var(--navy-900); padding: 0.85rem 0; }
.logo-container { display: flex; align-items: center; justify-content: space-between; }
.logo { height: 42px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 2.5rem; }
.header-nav a { color: #fff; font-size: 0.95rem; font-weight: 400; letter-spacing: 1.4px; font-family: var(--font-heading); text-transform: uppercase; transition: color 0.2s; }
.header-nav a:hover { color: var(--gold-500); }

.login-main { flex: 1; padding: 3rem 0; display: flex; align-items: center; justify-content: center; }
#loginView { display: flex; flex-direction: column; min-height: 100vh; }
.login-card {
  background: #fff;
  border-radius: 6px;
  padding: 2.6rem 3rem 2.2rem;
  box-shadow: var(--shadow-md);
  max-width: 470px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy-900);
  text-align: center;
  padding-bottom: 0.55rem;
  margin-bottom: 0.4rem;
  display: table;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 3px solid var(--gold-500);
}
.card-subtitle { text-align: center; color: var(--gray-700); font-size: 0.9rem; margin: 1rem 0 1.8rem; line-height: 1.5; }
.form-group { margin-bottom: 1.15rem; }
.form-label {
  display: block; font-size: 0.72rem; font-weight: 700; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 0.4rem;
}
.form-input, select.form-input {
  width: 100%; padding: 0.75rem 0.9rem; font-size: 0.95rem; font-family: var(--font-body);
  border: 1px solid var(--gray-300); border-radius: 4px; background: #fff; color: var(--navy-900);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(0,75,141,.12); }
.form-input::placeholder { color: #a7aeb9; }
.password-wrapper { position: relative; }
.password-wrapper .form-input { padding-right: 2.8rem; }
.password-toggle { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-600); display: flex; padding: 4px; }
.password-toggle svg { width: 19px; height: 19px; }

.btn { width: 100%; padding: 0.85rem 1.5rem; font-size: 0.9rem; font-weight: 700; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 4px; cursor: pointer; transition: all .2s; }
.btn-signin { background: var(--navy-900); color: #fff; }
.btn-signin:hover { background: var(--navy-700); }

.login-error {
  display: none; align-items: center; gap: 6px; color: var(--red-500); font-size: 0.82rem;
  font-weight: 600; margin-bottom: 1rem; padding: 0.6rem 0.75rem; background: var(--red-100); border-radius: 4px;
}
.login-error.visible { display: flex; }
.login-error svg { width: 16px; height: 16px; flex-shrink: 0; }

.main-footer { background: #12213a; color: #c7ccd4; padding: 1.4rem 0; margin-top: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer-links a { color: #c7ccd4; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.4px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ============ DASHBOARD ============ */
#dashboardView { min-height: 100vh; background: var(--gray-100); display: flex; flex-direction: column; }

.app-utility-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1.4rem; background: #fff; border-bottom: 1px solid var(--gray-200); }
.utility-left { display: flex; align-items: center; gap: 0.6rem; }
.need-help { color: var(--gray-600); font-size: 0.82rem; }
.help-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--navy-700); color: #fff; border: none; font-size: 0.7rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sign-off-link { background: none; border: none; color: var(--navy-900); font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.sign-off-link:hover { text-decoration: underline; }

.app-tabs { display: flex; background: #fff; border-bottom: 1px solid var(--gray-200); overflow-x: auto; }
.tab-item {
  flex: 1; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0.75rem 0.4rem 0.65rem; background: none; border: none; cursor: pointer;
  color: var(--gray-500); font-size: 0.68rem; font-weight: 600; font-family: var(--font-body);
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap;
}
.tab-item svg { width: 20px; height: 20px; }
.tab-item.active { color: var(--navy-900); border-bottom-color: var(--navy-900); }
.tab-item:hover { color: var(--navy-700); }

.app-body { flex: 1; padding: 1.2rem 1.4rem 3rem; max-width: 1100px; width: 100%; margin: 0 auto; }
.panel { display: none; }
.panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero-banner {
  background: linear-gradient(135deg, #073d70 0%, #004a86 55%, #055f9e 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  color: #fff; padding: 1.15rem 1.4rem 1.05rem;
}
.hero-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.hero-greeting { font-size: 1rem; opacity: 0.92; margin-top: 0.15rem; }
.hero-greeting span { font-weight: 600; }

/* Officer bar */
.officer-bar { background: #6b7d2c; color: #fff; }
.officer-bar-head { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1.4rem; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.officer-bar-head .chev { width: 16px; height: 16px; transition: transform .25s; }
.officer-bar.open .officer-bar-head .chev { transform: rotate(180deg); }
.officer-bar-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.officer-bar-body.expanded { max-height: 160px; }
.officer-line { display: flex; align-items: center; gap: 0.4rem; padding: 0.2rem 1.4rem; font-size: 0.82rem; }
.officer-id { opacity: 0.75; font-size: 0.76rem; }
.officer-call { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.35rem 1.4rem 0.9rem; background: none; border: none; color: var(--gold-500); font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 0; }
.officer-call svg { color: var(--gold-500); }

/* Balance */
.balance-box {
  background: #fff; padding: 1.5rem 1.4rem 1.35rem; margin-top: 0;
  border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200);
}
.balance-top { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.6px; color: var(--gray-600); text-transform: uppercase; }
.balance-amount { font-size: 2.7rem; font-weight: 300; color: var(--navy-900); line-height: 1.15; margin: 0.2rem 0 0.1rem; letter-spacing: 0.5px; }
.balance-sub { font-size: 0.78rem; color: var(--gray-500); }

/* Two column cards */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.panel-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.card-head-title { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 700; color: var(--navy-900); }
.card-head-link { font-size: 0.76rem; color: var(--navy-700); font-weight: 600; cursor: pointer; }
.card-head-link:hover { text-decoration: underline; }

/* Services */
.services-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; text-align: center; }
.service-item { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; cursor: pointer; padding: 0.4rem 0.15rem; border-radius: 6px; }
.service-item:hover { background: var(--gray-50); }
.service-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--navy-700); }
.service-ic svg { width: 22px; height: 22px; }
.service-item span { font-size: 0.66rem; font-weight: 600; color: var(--gray-700); line-height: 1.2; }

/* Custody */
.custody-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.custody-logo { font-family: var(--font-heading); font-weight: 800; font-style: italic; font-size: 1.35rem; color: var(--navy-900); letter-spacing: 0.5px; }
.custody-status { background: var(--green-100); color: var(--green-500); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px; padding: 0.2rem 0.55rem; border-radius: 20px; }
.custody-title { font-size: 0.86rem; color: var(--gray-700); margin-bottom: 0.9rem; }
.custody-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--gray-600); }
.custody-row strong { color: var(--navy-700); font-size: 0.9rem; }

/* Activity */
.activity-list { display: flex; flex-direction: column; }
.act-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--gray-100); }
.act-row:last-child { border-bottom: none; }
.act-main { min-width: 0; }
.act-title { font-size: 0.84rem; font-weight: 600; color: var(--navy-900); }
.act-sub { font-size: 0.72rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.act-right { text-align: right; flex-shrink: 0; }
.act-amount { font-size: 0.84rem; font-weight: 700; }
.act-amount.pos { color: var(--green-500); }
.act-amount.neg { color: var(--red-500); }

/* Detail rows */
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.82rem; }
.detail-row:last-child { border-bottom: none; }
.detail-row span { color: var(--gray-600); }
.detail-row strong { color: var(--navy-900); font-weight: 600; text-align: right; }
.status-active { color: var(--green-500) !important; }

/* Pills */
.pill { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 0.16rem 0.5rem; border-radius: 10px; margin-top: 2px; }
.pill-green { background: var(--green-100); color: var(--green-500); }
.pill-gold { background: #fdf3d8; color: #b7820a; }
.pill-red { background: var(--red-100); color: var(--red-500); }
.pill-blue { background: var(--blue-100); color: var(--blue-600); }

/* Deposit tab */
.pending-box { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-bottom: 1rem; }
.pending-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.7px; color: var(--gray-600); text-transform: uppercase; }
.pending-amount { font-size: 1.9rem; font-weight: 700; color: var(--gold-600); margin: 0.25rem 0; }
.pending-sub { font-size: 0.78rem; color: var(--gray-500); }

.acct-copy-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--gray-100); }
.acct-copy-row:last-child { border-bottom: none; }
.acct-copy-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; color: var(--gray-600); text-transform: uppercase; }
.acct-copy-right { display: flex; align-items: center; gap: 0.7rem; }
.acct-copy-right strong { font-size: 0.95rem; font-family: var(--font-body); letter-spacing: 0.5px; color: var(--navy-900); }
.copy-btn { background: #fff; border: 1px solid var(--gray-200); border-radius: 5px; padding: 0.28rem 0.6rem; font-size: 0.7rem; font-weight: 600; color: var(--navy-700); cursor: pointer; }
.copy-btn:hover { background: var(--gray-50); }

.deposit-history { display: flex; flex-direction: column; }
.dep-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 0; border-bottom: 1px solid var(--gray-100); }
.dep-row:last-child { border-bottom: none; }
.dep-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dep-in { background: var(--green-100); color: var(--green-500); }
.dep-sys { background: var(--gray-100); color: var(--gray-500); }
.dep-main { flex: 1; min-width: 0; }
.dep-title { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.dep-sub { font-size: 0.72rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep-right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.dep-amount { font-size: 0.85rem; font-weight: 700; color: var(--gold-600); }
.dep-date { font-size: 0.66rem; color: var(--gray-500); }

.deposit-officer { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.3rem 1.4rem; text-align: center; margin-top: 1rem; }
.deposit-officer-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.8px; color: var(--gray-600); }
.deposit-officer-text { font-size: 0.82rem; color: var(--gray-600); margin: 0.35rem 0 0.8rem; }
.deposit-officer-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.deposit-officer-name { font-weight: 700; color: var(--navy-900); font-size: 0.9rem; }
.deposit-officer .officer-call { margin: 0; color: var(--navy-700); }

/* Pay & Transfer */
.transfer-empty { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 3.5rem 1.5rem; text-align: center; }
.transfer-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--gray-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.transfer-icon svg { width: 34px; height: 34px; }
.transfer-empty h2 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--navy-900); margin-bottom: 0.6rem; }
.transfer-empty p { font-size: 0.86rem; color: var(--gray-600); max-width: 400px; margin: 0 auto 1.4rem; line-height: 1.6; }
.btn-contact-support { background: var(--navy-900); color: #fff; border: none; border-radius: 6px; padding: 0.75rem 1.6rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.btn-contact-support:hover { background: var(--navy-700); }

/* Cards */
.cards-head h2 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--navy-900); margin-bottom: 0.2rem; }
.cards-head p { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 1.1rem; }
.cards-top-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; margin-bottom: 1rem; align-items: start; }
.vcard {
  background: linear-gradient(135deg, #0a3a63 0%, #0d4a7d 60%, #10578f 100%);
  border-radius: 14px; padding: 1.3rem 1.4rem; color: #fff; position: relative;
  min-height: 190px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); cursor: pointer;
}
.vcard-top { display: flex; align-items: center; justify-content: space-between; }
.vcard-brand { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; }
.vcard-brand span { font-weight: 400; opacity: 0.75; letter-spacing: 0.5px; }
.vcard-contactless { width: 20px; height: 20px; opacity: 0.75; }
.vcard-chip { width: 38px; height: 28px; border-radius: 5px; background: linear-gradient(135deg, #d8b74a, #b8952f); margin-top: 1rem; }
.vcard-number { font-family: monospace; font-size: 1.05rem; letter-spacing: 2px; margin: 0.75rem 0 auto; opacity: 0.95; }
.vcard-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 0.6rem; gap: 1rem; }
.vcard-mini-label { font-size: 0.52rem; letter-spacing: 1px; opacity: 0.6; }
.vcard-holder, .vcard-expiry { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.8px; }
.vcard-visa { font-size: 1.25rem; font-weight: 700; font-style: italic; opacity: 0.9; }

.card-meta { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.6rem 1.2rem; }
.meta-row { display: flex; align-items: center; justify-content: space-between; padding: 0.62rem 0; border-bottom: 1px solid var(--gray-100); }
.meta-row:last-child { border-bottom: none; }
.meta-row span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px; color: var(--gray-500); }
.meta-row strong { font-size: 0.84rem; color: var(--navy-900); font-weight: 600; }
.status-warn { color: var(--gold-600) !important; }

/* Card security / limits */
.sec-row { display: flex; align-items: center; justify-content: space-between; padding: 0.62rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.83rem; color: var(--gray-600); }
.sec-row:last-child { border-bottom: none; }
.sec-row strong { color: var(--navy-900); font-weight: 600; }
.sec-on { color: var(--green-500); font-weight: 700; font-size: 0.8rem; }
.sec-off { color: var(--gold-600); font-weight: 700; font-size: 0.8rem; }
#panel-cards .panel-card { margin-bottom: 1rem; }

/* Management */
.mgmt-item { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--gray-100); cursor: pointer; font-size: 0.86rem; color: var(--navy-900); }
.mgmt-item:last-child { border-bottom: none; }
.mgmt-item:hover { color: var(--navy-700); }
.chev { color: var(--gray-300); font-size: 1.1rem; }

/* Menu */
.menu-hero { background: linear-gradient(135deg, #073d70 0%, #004a86 60%, #055f9e 100%); border-radius: var(--radius); color: #fff; padding: 2rem 1.5rem; text-align: center; }
.menu-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.6rem; }
.menu-name { font-size: 1.15rem; font-weight: 700; }
.menu-case { font-size: 0.78rem; opacity: 0.72; margin-top: 0.1rem; }
.menu-list { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-top: 1rem; padding: 0.3rem 1.3rem; }
.menu-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.95rem 0; border-bottom: 1px solid var(--gray-100); cursor: pointer; font-size: 0.88rem; color: var(--navy-900); }
.menu-item:last-child { border-bottom: none; }
.menu-item svg { width: 18px; height: 18px; color: var(--gray-600); }
.menu-item .chev { margin-left: auto; }
.menu-item:hover { color: var(--navy-700); }
.menu-danger { color: var(--red-500); }
.menu-danger svg { color: var(--red-500); }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(8,20,35,.55); z-index: 2000; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(3px); }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: 14px; padding: 2rem 1.6rem 1.5rem; max-width: 400px; width: 100%; text-align: center; position: relative; box-shadow: var(--shadow-lg); animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 0.8rem; right: 0.9rem; background: none; border: none; font-size: 1.4rem; color: var(--gray-500); cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--gray-100); }
.modal-fdic { font-family: var(--font-heading); font-weight: 800; font-style: italic; font-size: 1.9rem; color: var(--navy-900); letter-spacing: 1px; margin-bottom: 0.5rem; }
.modal-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--navy-900); margin-bottom: 0.6rem; }
.modal-text { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1.1rem; }
.modal-officer { border: 1px solid var(--gray-200); border-radius: 9px; padding: 0.7rem 1rem; margin-bottom: 1.1rem; }
.modal-officer-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.6px; color: var(--gray-500); }
.modal-officer-name { font-size: 0.95rem; font-weight: 700; color: var(--navy-900); margin-top: 0.2rem; }
.modal-call { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--navy-900); color: #fff; padding: 0.8rem 1.2rem; border-radius: 8px; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.9rem; }
.modal-call:hover { background: var(--navy-700); }
.modal-call.green { background: #1aa06b; }
.modal-call.green:hover { background: #148a5a; }
.modal-warn { font-size: 0.68rem; color: var(--gray-500); line-height: 1.5; text-align: left; }

/* Copy toast */
.copy-toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy-900); color: #fff; padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; opacity: 0; transition: all .3s; pointer-events: none; z-index: 3000; }
.copy-toast.active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .cards-top-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .container { padding: 0 1rem; }
  .app-body { padding: 1rem 0.9rem 3rem; }
  .balance-amount { font-size: 2.1rem; }
  .login-card { padding: 2rem 1.4rem; }
  .secondary-banner { display: none; }
  .act-sub { max-width: 150px; }
  .services-row { grid-template-columns: repeat(4, 1fr); gap: 0.1rem; }
  .service-ic { width: 38px; height: 38px; }
  .service-item span { font-size: 0.6rem; }
}
@media (max-width: 480px) {
  .tab-item { font-size: 0.6rem; min-width: 68px; }
  .balance-amount { font-size: 1.9rem; }
  .vcard-number { font-size: 0.92rem; }
}
