/* ══════════════════════════════════════════════════════════════════
   Inacta.Bank — Mobile Banking App CSS
   Brand: Navy #121933 · Greige #E8DFD8 · Rose-Gray #D2C2C2
          Taupe #BDADAD · Off-White #F7F3F4 · Light Blue #9FB5CC
          Powder Pink #F1C7D3 · Signal #E60251 · Mauve #B17B9B
   Fonts: Switzer (display) + Satoshi (body) — Fontshare
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #121933;
  --navy-90:     rgba(18,25,51,.9);
  --navy-60:     rgba(18,25,51,.6);
  --navy-20:     rgba(18,25,51,.12);
  --greige:      #E8DFD8;
  --rose-gray:   #D2C2C2;
  --taupe:       #BDADAD;
  --off-white:   #F7F3F4;
  --light-blue:  #9FB5CC;
  --powder-pink: #F1C7D3;
  --signal:      #E60251;
  --signal-dark: #c00243;
  --mauve:       #B17B9B;

  --bg:          var(--off-white);
  --surface:     #ffffff;
  --border:      rgba(18,25,51,.09);
  --text:        var(--navy);
  --text-muted:  var(--navy-60);

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(18,25,51,.07), 0 1px 2px rgba(18,25,51,.04);
  --shadow:      0 4px 16px rgba(18,25,51,.09), 0 1px 4px rgba(18,25,51,.05);
  --shadow-lg:   0 12px 40px rgba(18,25,51,.14), 0 2px 8px rgba(18,25,51,.07);

  --topbar-h:    58px;
  --bottomnav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --font-display: 'Switzer', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  --transition: .2s cubic-bezier(.4,0,.2,1);
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* ── Screen System ───────────────────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.screen.active {
  display: flex;
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   LOGIN SCREEN
   ══════════════════════════════════════════════════════════════════ */
#screen-login {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(159,181,204,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(177,123,155,.12) 0%, transparent 70%);
  padding: 24px;
  overflow-y: auto;
}

.login-wrap {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.login-card {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.login-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -.3px;
}
.login-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.login-hint {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}
.login-hint code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: var(--greige);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--navy);
}

.login-disclaimer {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   APP SHELL
   ══════════════════════════════════════════════════════════════════ */
#screen-app {
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

/* ── Top Bar ─────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 48px;
}

.topbar__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: none;
  background: var(--greige);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
}
.topbar__back:hover { background: var(--rose-gray); }

.topbar__icon {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.topbar__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.2px;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 48px;
}

.topbar__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
  transition: opacity var(--transition);
}
.topbar__avatar:hover { opacity: .85; }

/* ── Main Content ─────────────────────────────────────────────────── */
.main-content {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  bottom: calc(var(--bottomnav-h) + var(--safe-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}

/* ── Pages ───────────────────────────────────────────────────────── */
.page {
  display: none;
  padding: 20px 16px 32px;
  animation: fadeSlideUp .22s ease both;
  min-height: 100%;
}
.page.active { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Bottom Nav ──────────────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bottomnav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  z-index: 100;
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--taupe);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  padding: 8px 4px;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.bottom-nav__item::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--signal);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.bottom-nav__item.active { color: var(--signal); }
.bottom-nav__item.active::after { opacity: 1; }
.bottom-nav__item svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-60);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(159,181,204,.2);
}
.form-input::placeholder { color: var(--taupe); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23BDADAD' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.input-password-wrap {
  position: relative;
}
.input-password-wrap .form-input {
  padding-right: 44px;
}
.pw-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--taupe);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}
.pw-toggle:hover { color: var(--navy); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; pointer-events: none; }

.btn--primary {
  background: var(--signal);
  color: white;
}
.btn--primary:hover { background: var(--signal-dark); }

.btn--ghost {
  background: var(--greige);
  color: var(--navy);
}
.btn--ghost:hover { background: var(--rose-gray); }

.btn--full { width: 100%; }

/* ── Spinner ─────────────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn--ghost .spinner {
  border-color: rgba(18,25,51,.2);
  border-top-color: var(--navy);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.45;
}
.alert--error   { background: rgba(230,2,81,.08); color: #9b0030; border: 1px solid rgba(230,2,81,.2); }
.alert--success { background: rgba(0,140,80,.07);  color: #00662e; border: 1px solid rgba(0,140,80,.2); }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════════════
   DASHBOARD PAGE
   ══════════════════════════════════════════════════════════════════ */
.greeting-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.greeting-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.greeting-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.4px;
}
.greeting-date {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  padding-top: 4px;
  line-height: 1.4;
}

/* Balance Card */
.balance-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.balance-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(159,181,204,.15) 0%, transparent 60%),
              linear-gradient(315deg, rgba(177,123,155,.1) 0%, transparent 50%);
  pointer-events: none;
}
.balance-card__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
}
.balance-card__amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1;
}
.balance-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.balance-card__meta .dot { opacity: .4; }

/* Decorative rings */
.balance-card__rings {
  position: absolute;
  right: -40px; bottom: -60px;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.06);
}
.ring--1 { width: 180px; height: 180px; right: 0; bottom: 0; }
.ring--2 { width: 120px; height: 120px; right: 30px; bottom: 30px; border-color: rgba(255,255,255,.09); }

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.quick-action:hover, .quick-action:active {
  background: var(--greige);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.quick-action__icon {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Section Headers */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.2px;
}
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.section-meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   TRANSACTION LIST
   ══════════════════════════════════════════════════════════════════ */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: background var(--transition);
}
.tx-item + .tx-item { border-top: none; border-radius: 0; }
.tx-item:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.tx-item:last-child  { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.tx-item:only-child  { border-radius: var(--radius-sm); }

.tx-item__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.5px;
}
.tx-item__icon--out {
  background: rgba(230,2,81,.08);
  color: var(--signal);
}
.tx-item__icon--in {
  background: rgba(0,140,80,.07);
  color: #008040;
}

.tx-item__body {
  flex: 1;
  min-width: 0;
}
.tx-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-item__ref {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.tx-item__date {
  font-size: 11.5px;
  color: var(--taupe);
  white-space: nowrap;
}

.tx-item__amount {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.tx-item__amount--out { color: var(--navy); }
.tx-item__amount--in  { color: #008040; }

/* Date Separator */
.tx-date-group {
  padding: 14px 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ══════════════════════════════════════════════════════════════════
   ACCOUNTS PAGE
   ══════════════════════════════════════════════════════════════════ */
.page-intro {
  margin-bottom: 20px;
}
.page-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
}
.page-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.accounts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.account-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.account-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.account-card[data-typ="privat"]::before   { background: var(--light-blue); }
.account-card[data-typ="spar"]::before     { background: var(--mauve); }
.account-card[data-typ="geschaeft"]::before { background: var(--signal); }

.account-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.account-card__type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.account-card[data-typ="privat"]   .account-card__type-badge { background: rgba(159,181,204,.15); color: #5a80a0; }
.account-card[data-typ="spar"]     .account-card__type-badge { background: rgba(177,123,155,.12); color: var(--mauve); }
.account-card[data-typ="geschaeft"] .account-card__type-badge { background: rgba(230,2,81,.08); color: var(--signal); }

.account-card__chevron {
  color: var(--taupe);
}
.account-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.account-card__iban {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: .5px;
}
.account-card__balance {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
}
.account-card__currency {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ── Account Detail ──────────────────────────────────────────────── */
.account-detail-header {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}
.account-detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(159,181,204,.12) 0%, transparent 60%);
}
.account-detail-header .type-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}
.account-detail-header .acct-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.account-detail-header .acct-balance {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1;
  margin-bottom: 12px;
}
.account-detail-header .acct-iban {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
}

.load-more-wrap {
  padding: 20px 0 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   CONTRACTS PAGE
   ══════════════════════════════════════════════════════════════════ */
.contracts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contract-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.contract-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.contract-card[data-type="PensionFund"]::before    { background: var(--mauve); }
.contract-card[data-type="LifeInsurance"]::before  { background: var(--light-blue); }
.contract-card[data-type="Mortgage"]::before       { background: var(--signal); }

.contract-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.contract-card__type-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.contract-card[data-type="PensionFund"]   .contract-card__type-badge { background: rgba(177,123,155,.12); color: var(--mauve); }
.contract-card[data-type="LifeInsurance"] .contract-card__type-badge { background: rgba(159,181,204,.15); color: #5a80a0; }
.contract-card[data-type="Mortgage"]      .contract-card__type-badge { background: rgba(230,2,81,.08); color: var(--signal); }

.contract-card__status {
  font-size: 11.5px;
  font-weight: 600;
  color: #008040;
}

.contract-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.contract-card__number {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contract-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.contract-metric {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.contract-metric__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 3px;
}
.contract-metric__value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* ══════════════════════════════════════════════════════════════════
   DOCUMENTS PAGE
   ══════════════════════════════════════════════════════════════════ */
.documents-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--surface);
  border-radius: 0;
  border: 1px solid var(--border);
  border-top: none;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition);
}
.doc-item:first-child {
  border-top: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.doc-item:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.doc-item:hover { background: var(--greige); }

.doc-item__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(18,25,51,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-60);
}

.doc-item__body {
  flex: 1;
  min-width: 0;
}
.doc-item__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-item__meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}
.doc-item__chevron {
  color: var(--taupe);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   TRANSFER PAGE
   ══════════════════════════════════════════════════════════════════ */
/* Uses .card, .form-group, .btn from above */

/* ══════════════════════════════════════════════════════════════════
   PROFILE PAGE
   ══════════════════════════════════════════════════════════════════ */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 28px;
  gap: 8px;
}
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.5px;
  box-shadow: var(--shadow);
  margin-bottom: 4px;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.3px;
}
.profile-email {
  font-size: 13.5px;
  color: var(--text-muted);
}

.profile-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.profile-detail-row:last-child { border-bottom: none; }
.profile-detail-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.profile-detail-row__value {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

.logout-btn {
  margin-top: 24px;
  color: var(--signal) !important;
  background: rgba(230,2,81,.07) !important;
  border: 1px solid rgba(230,2,81,.15) !important;
}
.logout-btn:hover { background: rgba(230,2,81,.12) !important; }

/* ══════════════════════════════════════════════════════════════════
   SKELETON LOADERS
   ══════════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

.skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-list::before,
.skeleton-list::after,
.skeleton-list > * {
  content: '';
  display: block;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--greige) 25%, #ece6e0 50%, var(--greige) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-card {
  height: 90px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--greige) 25%, #ece6e0 50%, var(--greige) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

/* ══════════════════════════════════════════════════════════════════
   EMPTY / ERROR STATES
   ══════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state svg {
  opacity: .25;
  margin-bottom: 16px;
}
.empty-state p {
  font-size: 14px;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════════════════════ */
[hidden] { display: none !important; }

/* Scrollbar — thin & subtle */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--rose-gray); border-radius: 4px; }
