/* ==========================================================================
   iPranker Design Sketches v2 — Dynamic Dark Green
   More motion, depth, phone mockups, missed-call references.
   ========================================================================== */

:root {
  --ios-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ios-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --bg-deep: #03080a;
  --bg-primary: #05120f;
  --bg-secondary: #0a1f1a;
  --bg-tertiary: #112a22;
  --card-bg: rgba(17, 24, 39, 0.5);
  --card-solid: #0f1720;
  --text-primary: #f7f8f9;
  --text-secondary: #a1a9b5;
  --text-muted: #5e6a75;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-mid: rgba(16, 185, 129, 0.3);
  --accent-glow: rgba(16, 185, 129, 0.45);
  --accent-hover: #059669;
  --accent-mint: #34d399;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-amber: #f59e0b;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(16, 185, 129, 0.22);
  --border-input: rgba(255, 255, 255, 0.11);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.15);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--accent-mint); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-primary);
}

.bg-canvas::before {
  content: none;
}

@keyframes aurora {
  0% { transform: translate(-3%, -3%) rotate(0deg) scale(1); }
  50% { transform: translate(2%, 1%) rotate(2deg) scale(1.05); }
  100% { transform: translate(3%, 3%) rotate(-1deg) scale(1); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ============================================================
   IPHONE 16 PRO + INCOMING CALL (login hero)
   ============================================================ */
.phone-scene {
  position: relative;
  width: 360px;
  height: 740px;
  perspective: 1400px;
  z-index: 2;
}

.iphone-frame {
  width: 100%;
  height: 100%;
  border-radius: 58px;
  background:
    linear-gradient(145deg, #4a4a4c, #2c2c2e 30%, #0d0d0f 50%, #1c1c1e 80%, #3a3a3c);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 0 0 3px #0a0a0a;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}

.iphone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 58px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.22), transparent 25%, transparent 75%, rgba(255,255,255,0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}
/* During incoming call raise the bezel above the call overlay so edges stay clean */
.iphone-frame.incoming-active::before {
  background: #1c1c1e;
  z-index: 25;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.16) 40%, rgba(0,0,0,0.28) 100%),
    url('ios26-bg.svg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 22px 26px;
}

.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 35%),
    linear-gradient(315deg, rgba(255,255,255,0.04) 0%, transparent 30%);
  pointer-events: none;
}

/* No travelling bar — static glass-edge sheen only */

/* iOS status bar with Dynamic Island */
.ios-status-bar {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 30;
  color: #fff;
}

.status-time {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 44px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-icon { width: 16px; height: 16px; }

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.signal-bar {
  width: 3px;
  background: #fff;
  border-radius: 1px;
}
.signal-bar:nth-child(1) { height: 4px; }
.signal-bar:nth-child(2) { height: 6px; }
.signal-bar:nth-child(3) { height: 8px; }
.signal-bar:nth-child(4) { height: 11px; }

.battery {
  display: flex;
  align-items: center;
  gap: 2px;
}
.battery-body {
  width: 22px;
  height: 11px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 3px;
  padding: 2px;
  position: relative;
}
.battery-level {
  height: 100%;
  width: 76%;
  background: #fff;
  border-radius: 1px;
  transition: width 0.3s ease;
}
.battery-cap {
  width: 2px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 0 1px 1px 0;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 31;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.4s var(--ios-ease);
  overflow: hidden;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.08);
  pointer-events: none;
}

.dynamic-island.active {
  width: 232px;
  height: 58px;
  border-radius: 29px;
  pointer-events: auto;
}

.dynamic-island-content {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s var(--ios-ease), transform 0.35s var(--ios-ease);
  white-space: nowrap;
}

.dynamic-island.active .dynamic-island-content {
  opacity: 1;
  transform: scale(1);
}

.dynamic-island-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff3b30;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.di-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: none;
  place-items: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ios-ease);
}
.di-btn:hover { transform: scale(1.1); }
.di-btn.decline { background: #ff3b30; }
.di-btn.accept { background: #34c759; }

.dynamic-island-content.incoming .di-btn { display: grid; }
.dynamic-island-content.incoming .dynamic-island-icon { display: none; }

.dynamic-island-text {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.dynamic-island-text small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* Lock screen content */
.lock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 120px;
  z-index: 12;
  transition: opacity 0.4s var(--ios-ease), transform 0.4s var(--ios-ease);
}
.lock-content.dimmed {
  opacity: 0.25;
  transform: scale(0.96);
}

.lock-date {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

.lock-time {
  font-size: 78px;
  font-weight: 200;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* Notification stack */
.notification-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  contain: layout style;
  flex: 1 1 auto;
  margin-bottom: 16px;
}

.lock-notif {
  box-sizing: border-box;
  width: 100%;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 13px 15px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.45s var(--ios-ease),
              opacity 0.35s var(--ios-ease),
              background 0.2s ease;
  animation: none;
}

.lock-notif:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lock-notif.is-new {
  animation: notifEnter 0.5s var(--ios-ease) both;
}

.lock-notif.is-leaving {
  pointer-events: none;
  transition: opacity 0.35s var(--ios-ease), transform 0.35s var(--ios-ease);
}


/* Grouped notifications are indicated by the badge only; no outer shadow that overlaps siblings */
.lock-notif.is-group {
  /* badge lives on the app icon */
}

.notif-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #ff3b30;
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 10;
}

@keyframes notifEnter {
  0% { opacity: 0; transform: translateY(-32px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.notif-icon.phone { background: #ff3b30; }
.notif-icon.mail { background: linear-gradient(135deg, #007aff, #0051d5); }
.notif-icon.message { background: linear-gradient(135deg, #34c759, #248a3d); }

.notif-body { flex: 1; min-width: 0; }
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.notif-app {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
}
.notif-when {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}
.notif-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.notif-preview {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Home bar — fixed at the bottom of the screen */
.iphone-home-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
  z-index: 15;
}

/* Flashlight / camera shortcuts — fixed above the home bar */
.lock-shortcuts {
  position: absolute;
  bottom: 46px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  z-index: 15;
}
.lock-shortcut {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #fff;
}
.lock-shortcut svg { width: 30px; height: 30px; }

/* ============================================================
   INCOMING CALL SCREEN OVERLAY (iOS full-screen)
   ============================================================ */
.incoming-call {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 78px 32px 52px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px) scale(0.97);
  transition: opacity 0.45s var(--ios-ease), transform 0.45s var(--ios-ease);
  /* Cover the full .iphone-screen (including area under the bezel) but stay behind the frame pseudo */
  margin: -14px -22px -26px;
  border-radius: 48px;
  overflow: hidden;
}
.incoming-call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.96);
  z-index: -1;
}

.incoming-call.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.call-label {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.call-avatar-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 24px;
}

.call-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c8ba0, #475569);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  animation: callRing 2.4s ease-out infinite;
  z-index: 1;
}
.call-ring:nth-child(2) { animation-delay: 0.6s; }
.call-ring:nth-child(3) { animation-delay: 1.2s; }

@keyframes callRing {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.65); opacity: 0; }
}

.call-number {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: -0.01em;
}

.call-location {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.call-secondary-actions {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
  padding: 0 12px;
}
.call-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.call-secondary-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}
.call-secondary-icon svg { width: 20px; height: 20px; color: #fff; }

.call-actions {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 8px;
}

.call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.call-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ios-ease);
}
.call-btn:hover { transform: scale(1.06); }
.call-btn.decline { background: #ff3b30; }
.call-btn.accept { background: #34c759; }
.call-btn svg { width: 32px; height: 32px; }

.call-action-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Glow orb behind phone */
.phone-glow {
  display: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.photo-bg { display: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.app { min-height: 0; flex: 1; display: flex; flex-direction: column; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 18, 15, 0.65);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.09); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .nav-toggle-close { display: none; }
.site-header.nav-open .nav-toggle-menu { display: none; }
.site-header.nav-open .nav-toggle-close { display: block; }

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { text-decoration: none; }
.logo-icon { width: 28px; height: 28px; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s ease;
}
.nav-link:not(.active):hover { background: rgba(255,255,255,0.05); color: var(--text-primary); text-decoration: none; }
.nav-link.active { background: var(--accent-soft); color: var(--accent-mint); box-shadow: 0 0 20px var(--accent-soft); }
.nav-link.active:hover { background: var(--accent-soft); color: var(--accent-mint); box-shadow: 0 0 20px var(--accent-soft); text-decoration: none; }
.nav-link-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.nav-link-accent:not(.active):hover { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); color: #fff; }
.nav-link, .nav-link:hover, .nav-link.active, .nav-link.active:hover { text-decoration: none; }
.nav-link-accent, .nav-link-accent:hover, .nav-link-accent.active, .nav-link-accent.active:hover { text-decoration: none; }
.nav-link svg { width: 18px; height: 18px; }

.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.05));
  border: 1px solid var(--border-strong);
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 16px rgba(16,185,129,0.08);
}
.balance-chip.active {
  background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.12));
  border-color: var(--accent-mint);
  color: #fff;
  box-shadow: 0 0 20px rgba(16,185,129,0.22);
}
.balance-chip:hover, .balance-chip.active:hover { text-decoration: none; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.user-chip:hover { background: rgba(255,255,255,0.09); }

main { flex: 1; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { gap: 32px; }

/* ============================================================
   SPLIT SCREEN LOGIN
   ============================================================ */
.split-screen {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.split-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
}

.split-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.25));
  position: relative;
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  height: 560px;
  border-radius: 44px;
  background: #050505;
  border: 8px solid #1a1a1a;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.7),
    0 0 80px rgba(16,185,129,0.15);
  overflow: hidden;
  position: relative;
  transform: perspective(1200px) rotateY(-12deg) rotateX(6deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #111;
  border-radius: 12px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  padding: 52px 18px 24px;
  display: flex;
  flex-direction: column;
}

.phone-notch-space { height: 24px; }

.phone-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

.phone-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.phone-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: var(--text-secondary);
}
.phone-tab.active { background: #fff; color: #000; }

.phone-list { display: flex; flex-direction: column; gap: 14px; }
.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-info { flex: 1; }
.phone-number { font-size: 15px; font-weight: 700; }
.phone-number.missed { color: var(--accent-red); }
.phone-location { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.phone-time { font-size: 13px; color: var(--text-secondary); }
.phone-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-red);
  display: grid;
  place-items: center;
}

@keyframes phoneFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-12deg) rotateX(6deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-12deg) rotateX(6deg) translateY(-16px); }
}

/* Floating notification banners */
.float-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
}

.float-card {
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatDrift 8s ease-in-out infinite;
  pointer-events: auto;
}
.float-card:nth-child(1) { animation-delay: 0s; }
.float-card:nth-child(2) { animation-delay: -2.5s; opacity: 0.9; }
.float-card:nth-child(3) { animation-delay: -5s; opacity: 0.8; }

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-8px) translateX(4px); }
  50% { transform: translateY(-4px) translateX(-4px); }
  75% { transform: translateY(-12px) translateX(2px); }
}

.float-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.14);
  color: var(--accent-red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(239,68,68,0.15);
}
.float-icon svg { width: 24px; height: 24px; }
.float-title { font-weight: 700; font-size: 15px; }
.float-sub { font-size: 13px; color: var(--text-secondary); }
.float-time { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* ============================================================
   CARDS & HERO
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.5); }
.card-body { padding: 28px; }
.card-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.card-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: relative;
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(120deg, rgba(16, 185, 129, 0.14), transparent 55%),
    linear-gradient(240deg, rgba(52, 211, 153, 0.06), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 60%);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 8px; }
.hero-value {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fff, var(--accent-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.18s ease;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px var(--accent-glow);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.textarea { min-height: 120px; resize: vertical; }

.input-with-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: all 0.18s ease;
}
.input-with-prefix:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px var(--accent-glow);
}
.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 14px;
  border-right: 1px solid var(--border-input);
  white-space: nowrap;
}
.input-with-prefix .input { border: none; background: transparent; box-shadow: none; border-radius: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.55);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.11); text-decoration: none; }

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.22);
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); text-decoration: none; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}
.btn:disabled::before,
.btn[aria-disabled="true"]::before { display: none; }
.btn[aria-disabled="true"] { pointer-events: none; }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent-mint);
  outline-offset: 3px;
}

/* ============================================================
   SEGMENTED & CHIPS
   ============================================================ */
.segmented {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}
.segmented button {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.segmented button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 14px var(--accent-glow);
}

.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.chip:hover { background: rgba(255,255,255,0.04); transform: translateY(-1px); }
.chip.active {
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 6px 22px var(--accent-glow);
}
.chip small { display: block; font-size: 11px; font-weight: 500; color: var(--text-secondary); margin-top: 2px; }
.chip.active small { color: rgba(255,255,255,0.75); }

/* ============================================================
   RECENTS LIST
   ============================================================ */
.recents-list { display: flex; flex-direction: column; gap: 8px; }
.recents-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.recents-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  transform: translateX(4px);
}
.recents-check { display: flex; align-items: center; }
.recents-check input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.recents-main { min-width: 0; }
.recents-number { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.recents-meta { font-size: 13px; color: var(--text-secondary); margin-top: 3px; }
.recents-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.recents-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.status-calling { color: var(--accent-mint); }
.status-calling::before { background: var(--accent-mint); box-shadow: 0 0 10px var(--accent-mint); animation: pulseDot 1.5s infinite; }
.status-queued { color: var(--accent-amber); }
.status-queued::before { background: var(--accent-amber); }
.status-failed { color: var(--accent-red); }
.status-failed::before { background: var(--accent-red); }
.status-done { color: var(--text-muted); }
.status-done::before { background: var(--text-muted); }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.recents-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.recents-time { font-size: 13px; color: var(--text-secondary); }
.recents-duration { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   PAGE HEADER & PANELS
   ============================================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 12px;
}
.page-title { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.page-actions { display: flex; gap: 10px; }

.two-column { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
}
.panel-body { padding: 24px; }
.panel-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--text-secondary); }
.summary-value { font-weight: 700; }

/* ============================================================
   TIER CARDS
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tier-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.2s ease;
}
.tier-card:hover { transform: translateY(-2px); }
.tier-card.popular {
  background:
    linear-gradient(160deg, rgba(16, 185, 129, 0.12), transparent 60%),
    var(--card-bg);
  border-color: var(--border-strong);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
}
.tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.tier-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.tier-value { font-size: 38px; font-weight: 800; color: var(--accent); margin: 4px 0 2px; }
.tier-desc { font-size: 13px; color: var(--text-secondary); }
.tier-card .btn { margin-top: 18px; width: 100%; }

/* ============================================================
   STEPPER & TRANSACTIONS
   ============================================================ */
.stepper { display: flex; align-items: center; justify-content: center; gap: 12px; }
.stepper button {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stepper button:hover { background: rgba(255,255,255,0.1); }
.stepper input {
  width: 150px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.tx-list { display: flex; flex-direction: column; }
.tx-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.12s ease;
}
.tx-item:last-child { border-bottom: none; }
.tx-item:hover { background: rgba(255,255,255,0.02); margin: 0 -14px; padding-left: 14px; padding-right: 14px; border-radius: var(--radius-sm); }
.tx-title { font-weight: 700; font-size: 14px; }
.tx-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tx-amount { font-weight: 800; font-size: 14px; }
.tx-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.tx-status.success { background: rgba(16, 185, 129, 0.12); color: var(--accent-mint); }
.tx-status.pending { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }

/* ============================================================
   TICKETS
   ============================================================ */
.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ticket-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  transform: translateX(6px);
  text-decoration: none;
}
.ticket-id {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.ticket-main { flex: 1; min-width: 0; }
.ticket-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-meta { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

.badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-new { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.badge-open { background: rgba(16, 185, 129, 0.12); color: var(--accent-mint); }
.badge-answer { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }
.badge-pending { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.badge-closed { background: rgba(107, 114, 128, 0.12); color: var(--text-muted); }

/* ============================================================
   CHAT
   ============================================================ */
.chat {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
}
.message { display: flex; gap: 12px; max-width: 82%; animation: msgIn 0.35s ease-out; }
.message.own { margin-left: auto; flex-direction: row-reverse; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.message-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.message-avatar svg { width: 18px; height: 18px; color: var(--text-secondary); }
.message-bubble {
  padding: 14px 17px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.message.own .message-bubble {
  background: var(--accent-soft);
  border-color: var(--border-strong);
}
.message-time { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}
.chat-input-bar .input { flex: 1; }

/* ============================================================
   LIVE INDICATOR
   ============================================================ */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 12px var(--accent-mint);
  animation: pulseDot 1.4s infinite;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  padding: 56px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-mint); }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .two-column { grid-template-columns: 1fr; }
  .split-screen { grid-template-columns: 1fr; }
  .split-left { display: none; }
  .split-right { min-height: 0; }
  .tier-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 28px; }
  .recents-item { grid-template-columns: 1fr auto; }
  .recents-check { display: none; }
  .hero-value { font-size: 44px; }
  .hero-card { padding: 28px; }
  .tx-item { grid-template-columns: 1fr auto; }
  .tx-meta { display: none; }
}

/* ============================================================
   FLOOD DASHBOARD (Call + Email unified)
   ============================================================ */

.mode-toggle-lg {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-input);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.mode-toggle-lg button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease;
}
.mode-toggle-lg button svg { width: 18px; height: 18px; }
.mode-toggle-lg button.active { color: #fff; }
.mode-toggle-lg button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.mode-toggle-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 4px 22px var(--accent-glow);
  transition: transform 0.4s var(--ios-ease), width 0.4s var(--ios-ease);
  z-index: 0;
  pointer-events: none;
}

.form-modes { position: relative; }
.mode-form {
  display: none;
  animation: formFade 0.35s var(--ios-ease) both;
}
.mode-form.active { display: block; }
@keyframes formFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.summary-cell {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-input);
}
.summary-cell-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.summary-cell-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.summary-cell-value.accent { color: var(--accent-mint); }

.capacity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-input);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.capacity-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
}
.capacity-pill.busy::before { background: var(--accent-red); box-shadow: 0 0 10px var(--accent-red); }

.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.order-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  transform: translateX(4px);
}
.order-check { display: flex; align-items: center; }
.order-check input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.order-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.order-icon--call { background: linear-gradient(135deg, #ff3b30, #c5221b); }
.order-icon--email { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.order-icon svg { width: 20px; height: 20px; }
.order-main { min-width: 0; }
.order-target {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-meta { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.order-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.order-price { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.order-time { font-size: 12px; color: var(--text-muted); }

.order-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.order-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}
.order-toolbar label input { accent-color: var(--accent); }
.order-toolbar input[type="checkbox"],
.order-check input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--border-input);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.24);
  cursor: pointer;
}
.order-toolbar input[type="checkbox"]::before,
.order-check input[type="checkbox"]::before {
  content: '';
  width: 8px;
  height: 4px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 0.12s ease;
}
.order-toolbar input[type="checkbox"]:checked,
.order-check input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.order-toolbar input[type="checkbox"]:checked::before,
.order-check input[type="checkbox"]:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}
.order-toolbar input[type="checkbox"]:indeterminate::before {
  width: 8px;
  height: 2px;
  border: 0;
  background: #fff;
  transform: none;
}
.order-toolbar input[type="checkbox"]:disabled,
.order-check input[type="checkbox"]:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.empty-orders {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 768px) {
  .mode-toggle-lg { width: 100%; }
  .mode-toggle-lg button {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding-inline: 10px;
  }
  .order-item:hover { transform: none; }
  .order-toolbar { flex-direction: column; align-items: flex-start; }
  .order-toolbar > .flex { width: 100%; justify-content: space-between; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .mode-toggle-lg button { gap: 5px; padding-inline: 7px; font-size: 13px; }
  .mode-toggle-lg button svg { width: 16px; height: 16px; }
  .summary-grid { gap: 6px; }
  .summary-cell { padding: 8px 6px; }
  .summary-cell-label { font-size: 9px; }
  .summary-cell-value { font-size: 17px; }
  .order-item { gap: 10px; padding-inline: 12px; }
}

/* Status dot next to page title */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: var(--accent-mint);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulseDot 1.4s infinite;
}
.status-dot.offline {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.22);
  color: var(--accent-red);
}
.status-dot.offline .status-dot-pulse {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: none;
}

/* ============================================================
   BALANCE / PAYMENTS DASHBOARD
   ============================================================ */

.balance-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  background:
    linear-gradient(112deg, rgba(16, 185, 129, 0.11), rgba(8, 24, 20, 0.78) 38%, rgba(10, 18, 24, 0.9) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  margin-bottom: 24px;
}
.balance-hero::before {
  content: '';
  position: absolute;
  top: -170px;
  left: -110px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 66%);
  pointer-events: none;
}

.balance-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(400px, 500px);
  grid-template-areas: "summary bonuses";
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
  min-height: 160px;
}

.balance-summary { grid-area: summary; min-width: 0; }

.balance-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.balance-amount {
  font-size: clamp(48px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 0.96;
}

.balance-bonuses {
  grid-area: bonuses;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  background: rgba(3, 10, 12, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.balance-bonuses-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 5px;
}
.balance-bonuses-heading h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.balance-bonuses-heading > span {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.72;
  white-space: nowrap;
}

.balance-bonus-tier {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 9px 2px;
}
.balance-bonus-tier + .balance-bonus-tier { border-top: 1px solid var(--border); }
.balance-bonus-threshold {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
}
.balance-bonus-threshold strong { color: var(--text-primary); font-size: 15px; }
.balance-bonus-value {
  color: var(--accent-mint);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.balance-bonus-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: var(--accent-mint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-mini {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.stat-mini-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.stat-mini-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}
.stat-mini-value.plus { color: var(--accent-mint); }
.stat-mini-value.minus { color: var(--accent-red); }

.dashboard-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.amount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.amount-chip:hover { background: rgba(255,255,255,0.04); }
.amount-chip.active {
  background: var(--accent);
  border-color: transparent;
}

.custom-amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-amount-wrap .input {
  flex: 1;
  padding-left: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235e6a75' stroke-width='2'%3E%3Cpath d='M12 1v22M17 5H9.5a4.5 4.5 0 0 0 0 9h5a4.5 4.5 0 0 1 0 9H6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.bonus-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}
.bonus-hint.active { color: var(--accent-mint); }

.tx-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.tx-filter button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-input);
  background: rgba(0,0,0,0.22);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tx-filter button.active {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-mint);
  box-shadow: none;
}
.tx-toolbar .tx-filter { margin-bottom: 0; }

.tx-list { display: flex; flex-direction: column; gap: 8px; }
.tx-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.tx-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  transform: translateX(4px);
}
.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.tx-icon--deposit,
.tx-icon--order,
.tx-icon--email,
.tx-icon--bonus {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.tx-icon svg { width: 18px; height: 18px; }
.tx-main { min-width: 0; }
.tx-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.tx-amount {
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}
.tx-amount.plus { color: var(--accent-mint); }
.tx-amount.minus { color: var(--accent-red); }

@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .tx-card { grid-template-columns: 1fr auto; }
  .tx-icon { display: none; }
}

@media (max-width: 960px) {
  .balance-hero { padding: 28px 30px; }
  .balance-hero-layout {
    grid-template-columns: minmax(220px, 1fr) minmax(340px, 1.35fr);
    grid-template-areas: "summary bonuses";
    gap: 24px;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .balance-hero { padding: 22px 20px; }
  .balance-hero-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "bonuses";
    gap: 20px;
  }
  .balance-bonuses {
    display: flex;
    padding: 12px 16px;
  }
  .balance-bonuses-heading {
    align-items: baseline;
    justify-content: space-between;
    flex-direction: row;
    padding: 0 2px 5px;
  }
  .balance-bonus-tier { min-height: 50px; padding: 7px 2px; }
  .balance-bonus-tier + .balance-bonus-tier {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  .tx-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tx-filter { width: 100%; }
  .tx-filter button { flex: 1; min-width: 0; padding-inline: 8px; }
}

/* Mode menu dropdown (Flood Center) */
.mode-menu {
  position: relative;
  display: inline-block;
}
.mode-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-input);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mode-menu-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.mode-menu-btn svg { width: 18px; height: 18px; }
.mode-menu-btn .chevron {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  opacity: 0.7;
}
.mode-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--card-bg);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: none;
  overflow: hidden;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.mode-menu.open .mode-menu-dropdown { display: block; }
.mode-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.mode-menu-item:hover { background: rgba(255, 255, 255, 0.06); }
.mode-menu-item.active { color: var(--accent); }
.mode-menu-item.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mode-menu-item svg { width: 18px; height: 18px; }
.mode-menu-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

/* Order progress bar (matches production site style) */
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.order-top .order-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.order-progress {
  width: 100%;
  min-width: 0;
  margin-top: 10px;
}
.order-progress__track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.order-progress__fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 1s linear, background 0.4s ease;
  overflow: hidden;
}
.order-progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: order-progress-shimmer 1.8s infinite;
}
.order-progress__fill--done {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}
.order-progress__fill--done::after {
  animation: none;
  opacity: 0;
}
.order-progress__fill--failed {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
}
.order-progress__fill--failed::after {
  animation: none;
  opacity: 0;
}
.order-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.order-progress__left {
  font-weight: 600;
  color: var(--text-primary);
}
@keyframes order-progress-shimmer {
  100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
  .order-top { gap: 8px; }
  .order-progress__meta { font-size: 10px; }
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}
.modal-close:hover { color: var(--text-primary); }
#ticketForm { padding: 20px; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.modal-overlay[hidden] { display: none; }

/* Language switcher & user menu dropdowns */
.lang-menu,
.user-menu {
  position: relative;
  display: inline-block;
}
.lang-btn,
.user-menu .user-chip {
  cursor: pointer;
}
.lang-btn,
.lang-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}
.lang-indicator {
  padding-inline: 2px;
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
  cursor: default;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.09); }
.lang-menu .lang-dropdown,
.user-menu .user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--card-bg);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  display: none;
  overflow: hidden;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.lang-menu.open .lang-dropdown,
.user-menu.open .user-dropdown { display: block; }
.lang-dropdown button,
.user-menu .user-dropdown a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.lang-dropdown button:hover,
.user-dropdown a:hover { background: rgba(255, 255, 255, 0.06); }
.lang-dropdown button.active { color: var(--accent); }

/* Footer */
.site-footer {
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text-primary); }
.login-wrap ~ .site-footer { margin-top: 0; }

@media (max-width: 768px) {
  .site-header-inner {
    min-height: 64px;
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-links {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100vh - 76px);
    padding-bottom: 14px;
    overflow-y: auto;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links > .nav-link,
  .nav-links > .balance-chip {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-md);
  }
  .nav-links > .lang-indicator { align-self: flex-start; }
  .nav-links > .user-menu,
  .user-menu .user-chip { width: 100%; }
  .user-menu .user-dropdown {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }
  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .ticket-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .ticket-card:hover { transform: none; }
  .ticket-card .badge { grid-column: 2; justify-self: start; }
  .chat { padding: 18px 14px; }
  .message { max-width: 94%; gap: 8px; }
  .message-avatar { width: 32px; height: 32px; }
  .chat-input-bar { gap: 8px; padding: 12px; }
  .chat-input-bar .input { min-width: 0; }
  .chat-input-bar .btn { padding-inline: 14px; }
}

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