/* ================================================================
   PROMPTZAP — GLOBAL DESIGN SYSTEM
   "Bold Intelligence" Palette · Redis.io Typography Style

   FONTS:  Space Grotesk (headings) + Inter (body)
   PALETTE: Deep Space Blue · Vivid Tangerine · Sunflower Gold

   ALL colours, fonts, and spacing live here.
   Edit :root variables only — changes cascade everywhere.
================================================================ */

/* Fonts loaded via <link> tags in HTML <head> for reliability.
   @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
*/

/* ----------------------------------------------------------------
   DESIGN TOKENS
---------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:      #003049;   /* Deep Space Blue  — hero, dark sections */
  --bg-deep:         #012030;   /* Midnight          — cards, sidebar, navbar */
  --bg-deeper:       #00192A;   /* Abyss             — inputs, code blocks */
  --bg-light:        #EAE2B7;   /* Vanilla Custard   — alternating light sections */
  --bg-cream:        #F5F0DC;   /* Lighter cream     — sub-sections on light */
  --bg-overlay:      rgba(0,48,73,0.50); /* Photo overlay tint */

  /* Brand Colours */
  --cta:             #F77F00;   /* Vivid Tangerine   — ALL primary buttons/CTAs */
  --cta-hover:       #D96D00;   /* Tangerine dark    — hover/active state */
  --cta-subtle:      rgba(247,127,0,0.10); /* Tinted bg for feature boxes */
  --cta-border:      rgba(247,127,0,0.28);

  --accent:          #FCBF49;   /* Sunflower Gold    — badges, active, highlights */
  --accent-subtle:   rgba(252,191,73,0.10);
  --accent-border:   rgba(252,191,73,0.28);

  --danger:          #D62828;   /* Flag Red          — ONLY errors / alerts */
  --danger-subtle:   rgba(214,40,40,0.10);

  --success:         #10B981;   /* Emerald           — quality scores, ticks */
  --success-subtle:  rgba(16,185,129,0.10);
  --success-border:  rgba(16,185,129,0.25);

  /* Text */
  --text-primary:    #FFFFFF;
  --text-secondary:  #EAE2B7;   /* Vanilla — subtitles/body on dark bg */
  --text-muted:      #8A9BB0;   /* Muted slate — captions, placeholder */
  --text-dark:       #1C1A12;   /* Near-black — headings on light bg */
  --text-dark-body:  #4A4530;   /* Brown-grey — body text on cream */
  --text-dark-muted: #7A7050;   /* Muted on cream */

  /* Borders */
  --border-dark:     #0B3D56;   /* Borders on dark backgrounds */
  --border-light:    #D4C99A;   /* Borders on cream sections */
  --border-focus:    var(--cta);
  --border-subtle:   rgba(255,255,255,0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-mono:    'Fira Code', 'Cascadia Code', 'Courier New', monospace;

  /* Sizing */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.15);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.25);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.35);
  --shadow-cta:  0 8px 24px rgba(247,127,0,0.30);
  --shadow-gold: 0 8px 24px rgba(252,191,73,0.20);

  /* Transitions */
  --ease:        all 0.20s ease;
  --ease-slow:   all 0.35s ease;

  /* Layout */
  --max-width:   1140px;
  --nav-height:  64px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 100px;

  /* Legacy compat aliases */
  --bg-secondary: var(--bg-deep);
  --bg-card: var(--bg-deep);
  --accent-coral: var(--cta);
  --accent-amber: var(--accent);
  --accent-glow: var(--cta-subtle);
  --color-success: var(--success);
  --color-warning: var(--accent);
  --color-error: var(--danger);
  --color-info: #8FBDD3;
  --text-on-light: var(--text-dark);

  /* iOS Design System */
  --ios-radius-xs: 8px;
  --ios-radius-sm: 10px;
  --ios-radius-md: 12px;
  --ios-radius-lg: 16px;
  --ios-radius-xl: 20px;
  --ios-radius-2xl: 24px;
  --ios-touch-min: 44px;
  --ios-touch-comfortable: 48px;
  --ios-blur-light: 10px;
  --ios-blur-medium: 20px;
  --ios-blur-heavy: 40px;
  --ios-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --ios-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --ios-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --ios-shadow-floating: 0 12px 40px rgba(0,0,0,0.15);
  --ios-glass-bg: rgba(0,48,73,0.72);
  --ios-glass-bg-elevated: rgba(2,62,88,0.8);
  --ios-glass-border: rgba(255,255,255,0.12);
  --ios-ease-out: cubic-bezier(0.33,1,0.68,1);
  --ios-ease-in-out: cubic-bezier(0.65,0,0.35,1);
  --ios-spring: cubic-bezier(0.175,0.885,0.32,1.275);
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }

/* Headings always use Space Grotesk */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* ----------------------------------------------------------------
   LAYOUT UTILITIES
---------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-dark  { background: var(--bg-primary);  padding: 96px 0; }
.section-mid   { background: var(--bg-deep);      padding: 96px 0; }
.section-light { background: var(--bg-light);     padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm { display: flex; align-items: center; gap: 8px; }
.flex-gap-md { display: flex; align-items: center; gap: 16px; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------- */
.h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.on-light .h1,
.on-light .h2,
.on-light .h3,
.on-light .h4 { color: var(--text-dark); }

.lead {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.highlight { color: var(--cta); }
.highlight-gold { color: var(--accent); }

/* ----------------------------------------------------------------
   PILL / TAG
---------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.tag-orange {
  background: var(--cta-subtle);
  border-color: var(--cta-border);
  color: var(--cta);
}

.tag-green {
  background: var(--success-subtle);
  border-color: var(--success-border);
  color: var(--success);
}

.tag-red {
  background: var(--danger-subtle);
  border-color: rgba(214,40,40,0.28);
  color: var(--danger);
}

/* ----------------------------------------------------------------
   BADGE (inline, compact)
---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.badge-gold   { background: var(--accent-subtle); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-orange { background: var(--cta-subtle);    color: var(--cta);    border: 1px solid var(--cta-border);    }
.badge-green  { background: var(--success-subtle); color: var(--success); border: 1px solid var(--success-border); }
.badge-red    { background: var(--danger-subtle);  color: var(--danger);  border: 1px solid rgba(214,40,40,0.28); }

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  line-height: 1;
}

/* Primary — Tangerine */
.btn-primary {
  background: var(--cta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary — Ghost dark bg */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* Ghost on light bg */
.btn-ghost-light {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}
.btn-ghost-light:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* Outline accent */
.btn-outline-gold {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
}
.btn-outline-gold:hover {
  background: var(--accent-subtle);
}

/* Danger */
.btn-danger {
  background: var(--danger);
  color: #fff;
}

/* Sizes */
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-lg { font-size: 16px; padding: 16px 32px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* ----------------------------------------------------------------
   FORM ELEMENTS
---------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-deeper);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  padding: 12px 14px;
  transition: var(--ease);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(247,127,0,0.12);
}

.form-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ----------------------------------------------------------------
   CARD
---------------------------------------------------------------- */
.card {
  background: var(--bg-deep);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--ease);
}

.card-hover:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-accent-left {
  border-left: 3px solid var(--accent);
}

.card-accent-orange {
  border-left: 3px solid var(--cta);
}

/* ----------------------------------------------------------------
   DIVIDER
---------------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border-dark);
  margin: 24px 0;
}

.divider-light {
  background: var(--border-light);
}

/* ----------------------------------------------------------------
   NAVBAR
---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(1,32,48,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.30);
}

.navbar .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--ease);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  border-bottom-color: var(--cta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link-plain {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--ease);
}
.nav-link-plain:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

/* ----------------------------------------------------------------
   SECTION HEADER (centred)
---------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .tag,
.section-header .tag-orange {
  margin-bottom: 14px;
}

.section-header .lead {
  margin: 12px auto 0;
  text-align: center;
}

/* ----------------------------------------------------------------
   PROGRESS BAR
---------------------------------------------------------------- */
.progress-wrap {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--success);
  transition: width 0.4s ease;
}

.progress-bar-orange { background: var(--cta); }
.progress-bar-gold   { background: var(--accent); }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer {
  background: var(--bg-primary);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
  margin-bottom: 18px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--ease);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 12px; color: var(--text-muted); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-muted); transition: var(--ease); }
.footer-legal a:hover { color: var(--text-primary); }

/* ----------------------------------------------------------------
   GLASS EFFECTS
---------------------------------------------------------------- */
.glass {
  background: rgba(0,48,73,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

.glass-nav {
  background: rgba(1,32,48,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.glass-card {
  background: rgba(1,32,48,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
}

/* ----------------------------------------------------------------
   GRADIENT UTILITIES
---------------------------------------------------------------- */
.gradient-coral-amber {
  background: linear-gradient(135deg, var(--cta), var(--accent));
}

.gradient-text,
.text-gradient-brand {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.hover-lift { transition: transform 0.2s ease; }
.hover-lift:hover { transform: translateY(-2px); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ----------------------------------------------------------------
   IOS SEGMENTED CONTROL
---------------------------------------------------------------- */
.ios-segmented-control {
  display: flex;
  background: rgba(118,118,128,0.12);
  border-radius: var(--ios-radius-md);
  padding: 2px;
  gap: 0;
  width: 100%;
}

.ios-segmented-control__item {
  flex: 1;
  padding: 10px 16px;
  border-radius: calc(var(--ios-radius-md) - 2px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ios-ease-out);
  text-align: center;
  min-height: var(--ios-touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ios-segmented-control__item:hover { color: var(--text-primary); }

.ios-segmented-control__item--active {
  background: var(--bg-deep);
  color: var(--text-primary);
  box-shadow: var(--ios-shadow-sm), 0 3px 1px rgba(0,0,0,0.04);
}

/* ----------------------------------------------------------------
   MODAL
---------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,48,73,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal {
  background: var(--bg-deep);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body { padding: var(--space-lg); }

.modal-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

/* ----------------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------------- */
*:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------------
   CUSTOM SCROLLBAR
---------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-dark, .section-mid, .section-light { padding: 64px 0; }
  .btn-lg { font-size: 15px; padding: 14px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ----------------------------------------------------------------
   AVATAR BUTTON — Pill-style (used on all pages)
---------------------------------------------------------------- */
.avatar-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 6px 10px 6px 6px;
  cursor: pointer;
  transition: var(--ease);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
}
.avatar-btn:hover {
  border-color: var(--cta-border);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #014060 100%);
  border: 1.5px solid var(--cta-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--cta);
  flex-shrink: 0;
}

.avatar-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.avatar-arrow {
  font-size: 8px;
  color: var(--text-muted);
  margin-left: 2px;
}
