
/* ═══════════════════════════════════════════════════════
   LOCI BRAND GUIDE Feb 2026
   Background:  #080C16   Line:    #282828
   Light text:  #EDEDED   Grey:    #9C9A9A
   Green:       #14B8A6   Blue:    #37A7E7
   Gradient:    #4ade80 → #34d399 → #2dd4bf → #22d3ee
   Font:        Inter
═══════════════════════════════════════════════════════ */

:root {
  --bg:        #080C16;
  --bg2:       #0c1120;
  --bg3:       #111827;
  --line:      #282828;
  --surface:   #0f1523;
  --surface2:  #161e2e;
  --text:      #EDEDED;
  --grey:      #9C9A9A;
  --green:     #14B8A6;
  --blue:      #37A7E7;
  --green-dim: rgba(20,184,166,0.1);
  --blue-dim:  rgba(55,167,231,0.1);
  --green-b:   rgba(20,184,166,0.25);
  --blue-b:    rgba(55,167,231,0.25);
  --danger:    #ef4444;
  --warn:      #f59e0b;
  --r:         6px;
  --r-lg:      10px;
  --font:      'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle dot grid */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* glow orbs */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 0;
}
.orb-teal {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(20,184,166,0.09) 0%, transparent 65%);
  top: -180px; left: -140px;
}
.orb-blue {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(55,167,231,0.06) 0%, transparent 65%);
  bottom: 0; right: -100px;
}

/* ═══════════════════════════════════════════════════════
   NAV — matching auroralabs.com exactly
═══════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,12,22,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

/* Logo — "L | LOCI / by Aurora Labs" — same layout as website */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: default;
  pointer-events: none; /* no link — just identity */
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green) 0%, #22d3ee 100%);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  color: #080C16;
  flex-shrink: 0;
  letter-spacing: -1px;
}
.nav-logo-text {
  display: flex; flex-direction: row; align-items: baseline;
  gap: 6px;
}
.nav-logo-loci {
  font-size: 16px; font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.nav-logo-sub {
  font-size: 12px; font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.2px;
}

/* Contact Us / Sign Out — transparent bg, blue border + blue text default,
   white border + white text on hover/active — exact auroralabs.com style */
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid var(--blue);
  border-radius: 50px;
  font-size: 13px; font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: 0.2px;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus {
  border-color: var(--text);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(55,167,231,0.18);
  outline: none;
}

.nav-signout {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid var(--blue);
  border-radius: 50px;
  font-size: 13px; font-weight: 500;
  color: var(--blue);
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: 0.2px;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.nav-signout:hover, .nav-signout:focus {
  border-color: var(--text);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(55,167,231,0.18);
  outline: none;
}

.nav-right {
  display: flex; align-items: center; gap: 16px;
}
.nav-user-email {
  font-size: 13px; color: var(--grey);
}

/* ═══════════════════════════════════════════════════════
   "Now Grounding Coding Agents" — pill badge
   Typography from Elementor global vars
═══════════════════════════════════════════════════════ */
.grounding-badge {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--green-b);
  border-radius: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--green-dim);
  font-family: var(--e-global-typography-b2dd3a8-font-family), Sans-serif;
  font-size: var(--e-global-typography-b2dd3a8-font-size, 11px);
  font-weight: var(--e-global-typography-b2dd3a8-font-weight, 600);
  line-height: var(--e-global-typography-b2dd3a8-line-height, 1.4);
  color: var(--e-global-color-1e0a375, var(--green));
}

/* ═══════════════════════════════════════════════════════
   "Execution-Aware" gradient text — as on website
   Clean gradient fill, no stripes
═══════════════════════════════════════════════════════ */
.ea-text {
  background: linear-gradient(90deg, #4ade80 0%, #2dd4bf 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ═══════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════ */
#login-page {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 60px;
}

.login-wrap {
  width: 100%; max-width: 440px;
}

.login-badge-row {
  display: flex; justify-content: center;
  margin-bottom: 22px;
}

.login-headline {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.login-sub {
  font-size: 15px; font-weight: 400;
  color: var(--grey);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Login card */
.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 38px 32px;
  position: relative; overflow: hidden;
}
.login-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #4ade80, #2dd4bf, #22d3ee);
  opacity: 0.65;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 12px; font-weight: 500;
  color: var(--grey);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}
.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 14px;
  font-size: 14px; font-weight: 400;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder { color: #363d50; }
.form-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}

.form-row-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.form-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey); cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 14px; height: 14px; accent-color: var(--green);
}
.form-forgot {
  font-size: 13px; color: var(--green);
  text-decoration: none; transition: opacity 0.2s;
}
.form-forgot:hover { opacity: 0.7; }

/* Green sign-in CTA button */
.btn-signin {
  width: 100%;
  padding: 13px 20px;
  background: var(--green);
  color: #080C16;
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  border: none; border-radius: var(--r);
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  position: relative; overflow: hidden;
}
.btn-signin:hover {
  background: #1dd1be;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20,184,166,0.3);
}
.btn-signin:active { transform: translateY(0); }

.login-footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px; color: var(--grey);
}
.login-footer-note a { color: var(--green); text-decoration: none; }
.login-footer-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   DASHBOARD PAGE
═══════════════════════════════════════════════════════ */
#dashboard-page {
  display: none;
  position: relative; z-index: 1;
  min-height: 100vh;
  padding-top: 68px;
}

/* Hero section */
.dash-hero {
  padding: 52px 48px 40px;
  border-bottom: 1px solid var(--line);
}
.dash-badge-row {
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.dash-headline-row {
  display: flex; align-items: baseline; gap: 18px;
  flex-wrap: wrap; margin-bottom: 0;
}
.dash-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.6px;
}
.dash-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 14px;
}
.plan-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2px;
}
.plan-chip.premium {
  background: var(--green-dim);
  border: 1px solid var(--green-b);
  color: var(--green);
}
.plan-chip.free {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--grey);
}
.plan-chip .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  animation: pulse-anim 2s ease-in-out infinite;
}
@keyframes pulse-anim {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

/* ═══════════════════════════════════════════════════════
   TABS — clean white text, NO colored underline by default,
   active state = white text only (no green bar)
═══════════════════════════════════════════════════════ */
.tabs-nav {
  display: flex;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  padding: 16px 0;
  margin-right: 36px;
  font-size: 14px; font-weight: 400;
  color: var(--text);
  background: transparent; border: none;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  transition: color 0.18s;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.tab-btn:hover { color: var(--green); }
.tab-btn.active {
  color: var(--green);
  font-weight: 600;
}
/* No bottom bar / underline on any state */

/* Tab panels */
.tab-panel { display: none; padding: 40px 48px; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════════════════════════
   USAGE TAB — METRICS
═══════════════════════════════════════════════════════ */

/* Three metrics aligned in one row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.metric-cell {
  background: var(--surface);
  padding: 28px 28px 22px;
  transition: background 0.15s;
}
.metric-cell:hover { background: var(--surface2); }
.metric-label {
  font-size: 11px; font-weight: 600;
  color: var(--grey);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.metric-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.metric-value {
  font-size: 38px; font-weight: 700;
  line-height: 1; letter-spacing: -1.5px;
  margin-bottom: 8px;
  color: var(--text); /* always white — trend shown only in delta row */
}
.metric-unit {
  font-size: 13px; font-weight: 400;
  color: var(--grey); margin-left: 5px; letter-spacing: 0;
}
.metric-delta {
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.metric-delta.up   { color: var(--green); }
.metric-delta.down { color: var(--blue);  }
.metric-delta.flat { color: var(--grey);  }

/* Tokens saved card */
.tokens-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.tokens-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,184,166,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.tokens-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--grey); margin-bottom: 8px;
}
.tokens-value {
  font-size: 44px; font-weight: 700;
  color: var(--green); line-height: 1;
  letter-spacing: -2px;
}
.tokens-value span {
  font-size: 18px; font-weight: 400;
  color: var(--grey); letter-spacing: 0; margin-left: 6px;
}
.tokens-sub { font-size: 13px; color: var(--grey); margin-top: 6px; }

/* Quota bar */
.quota-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  margin-bottom: 20px;
}
.quota-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.quota-title { font-size: 13px; font-weight: 500; color: var(--text); }
.quota-nums  { font-size: 13px; color: var(--grey); }
.quota-nums strong { color: var(--text); font-weight: 600; }
.bar-track {
  height: 5px; background: var(--bg3); border-radius: 10px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--green), #22d3ee);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.bar-fill.warn { background: linear-gradient(90deg, var(--warn), #fb923c); }
.quota-note { margin-top: 9px; font-size: 12px; color: var(--grey); }
.quota-note a { color: var(--green); text-decoration: none; }
.quota-note a:hover { text-decoration: underline; }

/* Section title */
.section-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.section-title .badge {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--green-dim); color: var(--green);
  padding: 2px 8px; border-radius: 20px; margin-left: 8px;
}

/* View toggle */
.view-toggle {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px; gap: 2px;
}
.view-btn {
  padding: 5px 14px;
  font-size: 12px; font-weight: 500;
  border: none; border-radius: 3px;
  cursor: pointer;
  background: transparent; color: var(--grey);
  font-family: var(--font);
  transition: all 0.15s;
}
.view-btn.active { background: var(--green); color: #080C16; font-weight: 600; }
.view-btn:not(.active):hover { color: var(--text); }

/* Chart */
.chart-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.chart-area {
  height: 165px;
  display: flex; align-items: flex-end; gap: 6px;
  position: relative;
  padding-bottom: 22px;
}
.chart-grid-lines {
  position: absolute; top: 0; left: 0; right: 0;
  bottom: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.cgl {
  width: 100%; height: 1px; background: var(--line);
  position: relative;
}
.cgl::after {
  content: attr(data-v);
  position: absolute; right: 0; top: -9px;
  font-size: 10px; color: #3d4455; font-weight: 500;
}
.bar-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  height: 100%; gap: 4px;
}
.bar-col .c-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green) 0%, rgba(20,184,166,0.25) 100%);
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer; min-height: 3px;
}
.bar-col .c-bar.today {
  background: linear-gradient(180deg, var(--blue) 0%, rgba(55,167,231,0.25) 100%);
}
.bar-col .c-bar:hover { filter: brightness(1.18); }
.bar-col .x-lbl { font-size: 10px; color: #3d4455; font-weight: 500; white-space: nowrap; }
.chart-tip {
  position: absolute;
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 5px; padding: 6px 11px;
  font-size: 12px; font-weight: 500; color: var(--text);
  pointer-events: none; opacity: 0; transition: opacity 0.15s;
  z-index: 10; white-space: nowrap;
}

/* Activity table */
.act-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.act-table { width: 100%; border-collapse: collapse; }
.act-table th {
  font-size: 11px; font-weight: 600;
  color: var(--grey); text-transform: uppercase; letter-spacing: 0.8px;
  padding: 13px 20px; text-align: left;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.act-table td {
  padding: 12px 20px; font-size: 13px;
  border-bottom: 1px solid rgba(40,40,40,0.55);
  color: var(--text); transition: background 0.12s;
}
.act-table tr:last-child td { border-bottom: none; }
.act-table tr:hover td { background: var(--surface2); }
.type-pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 20px; letter-spacing: 0.3px;
}
.type-pill.analysis  { background: rgba(20,184,166,0.1); color: var(--green); }
.type-pill.review    { background: rgba(55,167,231,0.1); color: var(--blue); }
.type-pill.grounding { background: rgba(245,158,11,0.1); color: var(--warn); }
.td-file { color: var(--grey); font-size: 12px; font-family: 'Courier New', monospace; }
.td-time { color: var(--grey); font-size: 12px; }
.td-tok  { color: var(--green); font-size: 12px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   LICENCE TAB
═══════════════════════════════════════════════════════ */
.plans-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 24px;
}
@media (max-width: 680px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.plan-card.active {
  border-color: var(--green);
  background: linear-gradient(155deg, rgba(20,184,166,0.05) 0%, var(--surface) 55%);
}
.plan-card.active::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #4ade80, #2dd4bf, #22d3ee);
}
.plan-card:not(.active):hover { border-color: rgba(255,255,255,0.1); }

.plan-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 6px;
}
.plan-name { font-size: 18px; font-weight: 700; color: var(--text); }
.plan-cur-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--green); color: #080C16;
  padding: 3px 10px; border-radius: 20px;
}
.plan-price {
  font-size: 34px; font-weight: 700;
  color: var(--text); letter-spacing: -1px; margin-bottom: 3px;
}
.plan-price sub { font-size: 13px; font-weight: 400; color: var(--grey); vertical-align: baseline; letter-spacing: 0; }
.plan-period { font-size: 13px; color: var(--grey); margin-bottom: 22px; }
.plan-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 9px; margin-bottom: 24px;
}
.plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--grey); }
.feat-y { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.feat-n { color: #333; flex-shrink: 0; margin-top: 1px; }

.btn-plan {
  width: 100%; padding: 11px 20px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  border-radius: var(--r); cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.2px;
}
.btn-plan.upgrade {
  background: var(--green); color: #080C16; border: none;
}
.btn-plan.upgrade:hover { background: #1dd1be; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20,184,166,0.25); }
.btn-plan.current {
  background: transparent; color: var(--green);
  border: 1px solid var(--green-b); cursor: default;
}
.btn-plan.downgrade {
  background: transparent; color: var(--grey);
  border: 1px solid var(--line);
}
.btn-plan.downgrade:hover { border-color: var(--danger); color: var(--danger); }

/* Licence detail block — table view */
.lic-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 20px;
}
.lic-block-title {
  padding: 16px 24px;
  font-size: 13px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: space-between;
}
/* Table layout for licence details */
.lic-table {
  width: 100%; border-collapse: collapse;
}
.lic-table th {
  font-size: 11px; font-weight: 600;
  color: var(--grey); text-transform: uppercase; letter-spacing: 0.8px;
  padding: 13px 24px; text-align: left;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.lic-table td {
  padding: 13px 24px; font-size: 13px;
  border-bottom: 1px solid rgba(40,40,40,0.55);
  color: var(--text); vertical-align: middle;
  transition: background 0.12s;
}
.lic-table tr:last-child td { border-bottom: none; }
.lic-table tr:hover td { background: var(--surface2); }
.lic-table td:first-child {
  font-size: 11px; font-weight: 600;
  color: var(--grey); text-transform: uppercase; letter-spacing: 0.8px;
  width: 180px;
}
.lic-val { font-size: 13px; font-weight: 500; color: var(--text); }
.lic-val.green { color: var(--green); }
.lic-val.mono  { font-size: 12px; letter-spacing: 0.4px; color: var(--grey); font-family: 'Courier New', monospace; }

/* Billing history */
.bill-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(40,40,40,0.55);
  transition: background 0.12s;
}
.bill-row:last-child { border-bottom: none; }
.bill-row:hover { background: var(--surface2); }
.bill-date { font-size: 12px; color: var(--grey); min-width: 92px; }
.bill-desc { flex: 1; font-size: 13px; color: var(--grey); }
.bill-amount { font-size: 13px; font-weight: 600; color: var(--text); min-width: 56px; text-align: right; }
.bill-status {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 2px 9px; border-radius: 20px;
}
.bill-status.paid { background: var(--green-dim); color: var(--green); }
.bill-pdf {
  font-size: 12px; color: var(--grey);
  cursor: pointer; background: none; border: none;
  font-family: var(--font); text-decoration: underline;
  text-decoration-style: dotted;
}
.bill-pdf:hover { color: var(--green); }
.btn-text-link {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: var(--green); font-family: var(--font);
  padding: 0; text-decoration: underline; text-decoration-style: dotted;
}
.btn-text-link:hover { opacity: 0.7; }

/* Responsive */
@media (max-width: 600px) {
  .site-nav { padding: 0 18px; }
  .dash-hero { padding: 32px 20px 24px; }
  .tabs-nav  { padding: 0 20px; }
  .tab-panel { padding: 24px 20px; }
  .metrics-row { grid-template-columns: 1fr; }
  .login-card  { padding: 28px 22px; }
  #login-page  { padding: 90px 14px 40px; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.a1 { animation: fadeUp 0.44s ease both; }
.a2 { animation: fadeUp 0.44s ease 0.07s both; }
.a3 { animation: fadeUp 0.44s ease 0.14s both; }
.a4 { animation: fadeUp 0.44s ease 0.21s both; }
.a5 { animation: fadeUp 0.44s ease 0.28s both; }
