@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ╔══════════════════════════════════════════════════════════════╗
   ║  AURORA DESIGN SYSTEM – Premium Fintech Aesthetic           ║
   ║  Animated mesh gradients · Rotating border glows            ║
   ║  Horizontal bar chart · Layered glass depth                 ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-2xl: 48px;

  /* Radius */
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-pill: 100px;

  /* Safe areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-height: 70px;

  /* Glass */
  --glass-blur: 60px;
}

/* ── DARK THEME ───────────────────────────────────────────────── */
[data-theme="dark"],
:root {
  --bg-base: #05060f;
  --bg-surface: #0c0e1a;
  --bg-elevated: #12152a;

  --text-primary: #eef0ff;
  --text-secondary: rgba(200, 210, 255, 0.55);
  --text-tertiary: rgba(200, 210, 255, 0.30);

  --glass-bg: rgba(255, 255, 255, 0.030);
  --glass-bg-strong: rgba(255, 255, 255, 0.060);
  --glass-border: rgba(255, 255, 255, 0.070);
  --glass-border-light: rgba(255, 255, 255, 0.040);
  --glass-shadow:
    0 4px 24px rgba(0, 0, 0, 0.40),
    0 1px 4px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.060);
  --glass-shadow-hover:
    0 8px 40px rgba(0, 0, 0, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.080);

  --tab-bg: rgba(8, 9, 20, 0.94);
  --tab-active: #60b4ff;
  --tab-inactive: rgba(200, 210, 255, 0.30);

  --input-bg: rgba(255, 255, 255, 0.030);
  --toggle-bg: rgba(255, 255, 255, 0.12);
  --toggle-active: #30d158;
  --divider: rgba(255, 255, 255, 0.050);

  --accent: #60b4ff;
  --accent-2: #a78bfa;
  --accent-3: #f472b6;
  --accent-glow: rgba(96, 180, 255, 0.20);

  /* Aurora colours */
  --aurora-1: rgba(96, 180, 255, 0.18);
  --aurora-2: rgba(167, 139, 250, 0.14);
  --aurora-3: rgba(244, 114, 182, 0.10);
  --aurora-4: rgba(52, 211, 153, 0.08);

  /* Card border gradient */
  --card-border-gradient: conic-gradient(from var(--border-angle, 0deg),
      rgba(96, 180, 255, 0.30),
      rgba(167, 139, 250, 0.30),
      rgba(244, 114, 182, 0.20),
      rgba(52, 211, 153, 0.20),
      rgba(96, 180, 255, 0.30));
}

/* ── LIGHT THEME ──────────────────────────────────────────────── */
[data-theme="light"] {
  --bg-base: #eff2fb;
  --bg-surface: #e2e8f8;
  --bg-elevated: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: rgba(15, 23, 42, 0.55);
  --text-tertiary: rgba(15, 23, 42, 0.32);

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(100, 120, 200, 0.18);
  --glass-border-light: rgba(100, 120, 200, 0.10);
  --glass-shadow:
    0 4px 24px rgba(80, 60, 160, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  --glass-shadow-hover:
    0 8px 40px rgba(80, 60, 160, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  --tab-bg: rgba(240, 242, 255, 0.92);
  --tab-active: #4f46e5;
  --tab-inactive: rgba(15, 23, 42, 0.35);

  --input-bg: rgba(0, 0, 0, 0.030);
  --toggle-bg: rgba(0, 0, 0, 0.10);
  --toggle-active: #30d158;
  --divider: rgba(80, 60, 160, 0.06);

  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-3: #ec4899;
  --accent-glow: rgba(79, 70, 229, 0.18);

  --aurora-1: rgba(79, 70, 229, 0.12);
  --aurora-2: rgba(168, 85, 247, 0.10);
  --aurora-3: rgba(236, 72, 153, 0.08);
  --aurora-4: rgba(16, 185, 129, 0.06);

  --card-border-gradient: conic-gradient(from var(--border-angle, 0deg),
      rgba(79, 70, 229, 0.30),
      rgba(168, 85, 247, 0.25),
      rgba(236, 72, 153, 0.20),
      rgba(16, 185, 129, 0.18),
      rgba(79, 70, 229, 0.30));
}

/* ── System Preference ──── */
@media (prefers-color-scheme: light) {
  [data-theme="system"] {
    --bg-base: #eff2fb;
    --bg-surface: #e2e8f8;
    --bg-elevated: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.55);
    --text-tertiary: rgba(15, 23, 42, 0.32);
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(100, 120, 200, 0.18);
    --glass-border-light: rgba(100, 120, 200, 0.10);
    --glass-shadow:
      0 4px 24px rgba(80, 60, 160, 0.08),
      0 1px 4px rgba(0, 0, 0, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.90);
    --glass-shadow-hover:
      0 8px 40px rgba(80, 60, 160, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    --tab-bg: rgba(240, 242, 255, 0.92);
    --tab-active: #4f46e5;
    --tab-inactive: rgba(15, 23, 42, 0.35);
    --input-bg: rgba(0, 0, 0, 0.030);
    --toggle-bg: rgba(0, 0, 0, 0.10);
    --toggle-active: #30d158;
    --divider: rgba(80, 60, 160, 0.06);
    --accent: #4f46e5;
    --accent-2: #7c3aed;
    --accent-3: #ec4899;
    --accent-glow: rgba(79, 70, 229, 0.18);
    --aurora-1: rgba(79, 70, 229, 0.12);
    --aurora-2: rgba(168, 85, 247, 0.10);
    --aurora-3: rgba(236, 72, 153, 0.08);
    --aurora-4: rgba(16, 185, 129, 0.06);
    --card-border-gradient: conic-gradient(from var(--border-angle, 0deg),
        rgba(79, 70, 229, 0.30),
        rgba(168, 85, 247, 0.25),
        rgba(236, 72, 153, 0.20),
        rgba(16, 185, 129, 0.18),
        rgba(79, 70, 229, 0.30));
  }
}


/* ╔══════════════════════════════════════════╗
   ║  ANIMATED BORDER ANGLE PROPERTY         ║
   ╚══════════════════════════════════════════╝ */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to {
    --border-angle: 360deg;
  }
}


/* ╔══════════════════════════════════════════╗
   ║  RESET                                  ║
   ╚══════════════════════════════════════════╝ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}


/* ╔══════════════════════════════════════════╗
   ║  AURORA BACKGROUND – Animated Mesh      ║
   ╚══════════════════════════════════════════╝ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* Large blue aurora - top right */
.bg-orb:nth-child(1) {
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, var(--aurora-1) 0%, transparent 70%);
  top: -20%;
  right: -25%;
  animation: aurora1 20s ease-in-out infinite;
}

/* Purple aurora - bottom left */
.bg-orb:nth-child(2) {
  width: 55vmax;
  height: 55vmax;
  background: radial-gradient(circle, var(--aurora-2) 0%, transparent 70%);
  bottom: 10%;
  left: -25%;
  animation: aurora2 26s ease-in-out infinite;
}

/* Pink aurora - center right */
.bg-orb:nth-child(3) {
  width: 45vmax;
  height: 45vmax;
  background: radial-gradient(circle, var(--aurora-3) 0%, transparent 70%);
  top: 40%;
  right: -15%;
  animation: aurora3 23s ease-in-out infinite;
}

@keyframes aurora1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  33% {
    transform: translate(-8vw, 12vh) scale(1.15);
    opacity: 0.8;
  }

  66% {
    transform: translate(5vw, -5vh) scale(0.90);
    opacity: 1;
  }
}

@keyframes aurora2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  25% {
    transform: translate(10vw, -8vh) scale(1.1);
    opacity: 0.7;
  }

  50% {
    transform: translate(-5vw, 5vh) scale(0.95);
    opacity: 0.9;
  }

  75% {
    transform: translate(8vw, 3vh) scale(1.08);
    opacity: 0.8;
  }
}

@keyframes aurora3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-12vw, -10vh) scale(1.2);
  }
}

/* Noise-grain overlay for texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.018;
  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");
  background-repeat: repeat;
  background-size: 180px;
}


/* ╔══════════════════════════════════════════╗
   ║  APP SHELL                              ║
   ╚══════════════════════════════════════════╝ */
.app-container {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-top: calc(var(--safe-top) + var(--s-md));
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom) + var(--s-xl));
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  padding: 0 var(--s-md);
  animation: pageIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ╔══════════════════════════════════════════╗
   ║  PAGE HEADER                            ║
   ╚══════════════════════════════════════════╝ */
.page-header {
  padding: var(--s-sm) 0 var(--s-xl);
}

.page-header h1 {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  /* Animated rainbow gradient text */
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 8s ease infinite;
}

@keyframes textGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.page-header p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 6px;
  font-weight: 400;
}


/* ╔══════════════════════════════════════════╗
   ║  GLASS CARD – Rotating Border Glow      ║
   ╚══════════════════════════════════════════╝ */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Top specular highlight */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 5%,
      rgba(255, 255, 255, 0.15) 30%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.15) 70%,
      transparent 95%);
  pointer-events: none;
  z-index: 2;
}

/* Inner light wash */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.030) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.glass-card>* {
  position: relative;
  z-index: 1;
}

.glass-card-strong {
  background: var(--glass-bg-strong);
}

/* ── Special animated-border card (price hero) ── */
.glass-card-glow {
  --border-angle: 0deg;
  animation: rotateBorder 6s linear infinite;
  border: none;
  background:
    /* Content fill */
    linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
    /* Animated conic border */
    var(--card-border-gradient) border-box;
  border: 2px solid transparent;
  box-shadow:
    var(--glass-shadow),
    0 0 40px rgba(96, 180, 255, 0.06),
    0 0 80px rgba(167, 139, 250, 0.04);
}

/* Override content fill for dark so content area stays glassy */
[data-theme="dark"] .glass-card-glow,
:root .glass-card-glow {
  background:
    linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
    var(--card-border-gradient) border-box;
}

[data-theme="light"] .glass-card-glow {
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    var(--card-border-gradient) border-box;
}


/* ╔══════════════════════════════════════════╗
   ║  PRICE HERO – The Star                  ║
   ╚══════════════════════════════════════════╝ */
.price-hero {
  text-align: center;
  padding: var(--s-2xl) var(--s-lg) var(--s-xl);
  margin-bottom: var(--s-lg);
  border-radius: var(--r-lg);
}

/* Ambient glow behind card */
.price-hero .card-glow {
  position: absolute;
  inset: -30px;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%,
      rgba(96, 180, 255, 0.12) 0%,
      rgba(167, 139, 250, 0.08) 40%,
      transparent 70%);
  filter: blur(30px);
  animation: heroGlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroGlow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.price-hero .price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--s-md);
}

.price-hero .price-value {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--s-sm);
  color: #fff;
  -webkit-text-fill-color: #fff;
  transition: none;
}

.price-hero .price-unit {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.price-hero .price-time {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.70);
  margin-top: var(--s-sm);
  font-weight: 500;
}

/* Average price (history page) */
.avg-price-hero {
  text-align: center;
  padding: var(--s-xl) var(--s-lg);
  margin-bottom: var(--s-lg);
  border-radius: var(--r-lg);
}

.avg-price-hero .price-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}


/* ╔══════════════════════════════════════════╗
   ║  HORIZONTAL BAR CHART                   ║
   ╚══════════════════════════════════════════╝ */
.chart-container {
  margin-bottom: var(--s-lg);
}

.chart-container .chart-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--s-xs);
  text-align: center;
}

.bar-chart {
  display: flex;
  flex-direction: column;
}

/* ── Price scale row ── */
.bar-scale {
  padding-right: 70px;
  /* same as hour-label width */
  margin-bottom: var(--s-sm);
}

.bar-scale-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.bar-scale-ticks {
  position: relative;
  height: 18px;
  border-bottom: 1px solid var(--divider);
}

.bar-scale-tick {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  transform: translateX(-50%);
  top: 0;
  font-variant-numeric: tabular-nums;
}

/* ── Bar rows container ── */
.bar-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

/* Vertical grid lines behind bars */
.bar-grid-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 70px;
  /* match hour-label width */
  pointer-events: none;
  z-index: 0;
}

.bar-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--divider);
}

/* Each row: [bar-track] [hour label] */
.bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 18px;
  cursor: pointer;
  transition: transform 0.15s ease;
  position: relative;
  z-index: 1;
}

.bar-row:active {
  transform: scale(0.99);
}

/* Track container */
.bar-track {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
}

/* The bar */
.bar-row .bar {
  height: 100%;
  min-width: 2px;
  border-radius: 8px;
  position: relative;
  transition:
    width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.2s ease;
}

.bar-row:hover .bar,
.bar-row.active .bar {
  filter: brightness(1.3);
}

/* Tooltip (Speech Bubble) */
.bar-tooltip {
  position: absolute;
  top: -34px;
  right: 0;
  transform: translateX(50%) translateY(10px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20), 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  z-index: 10;
  border: 1px solid var(--glass-border);
}

/* Light mode: slightly stronger contrast for tooltip */
[data-theme="light"] .bar-tooltip {
  background: #fff;
  border: 1px solid rgba(80, 60, 160, 0.18);
  box-shadow: 0 4px 20px rgba(80, 60, 160, 0.14), 0 1px 4px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .bar-tooltip::after {
  background: #fff;
  border-right: 1px solid rgba(80, 60, 160, 0.18);
  border-bottom: 1px solid rgba(80, 60, 160, 0.18);
}

.bar-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.bar-row.active .bar-tooltip {
  opacity: 1;
  transform: translateX(50%) translateY(0) scale(1);
}

.bar.negative .bar-tooltip {
  right: auto;
  left: 0;
  transform: translateX(-50%) translateY(10px) scale(0.9);
}

.bar-row.active .bar.negative .bar-tooltip {
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Hour range label (right side) */
.bar-hour {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-tertiary);
  width: 64px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.bar-row:hover .bar-hour,
.bar-row.active .bar-hour {
  color: var(--text-primary);
}

/* Current hour indicator */
.bar-row.current .bar-hour {
  color: var(--accent);
  font-weight: 700;
}

.bar-row.current .bar {
  animation: currentPulse 3s ease-in-out infinite;
}

@keyframes currentPulse {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.25);
  }
}

/* Negative bars */
.bar-row .bar.negative {
  border-radius: 8px;
}



/* ╔══════════════════════════════════════════╗
   ║  BUTTONS                                ║
   ╚══════════════════════════════════════════╝ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  padding: 14px var(--s-lg);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 50px;
  position: relative;
  overflow: hidden;
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: var(--glass-shadow);
}

/* Sweep shimmer on hover */
.btn-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-glass:hover::after {
  left: 100%;
}

.btn-glass:active {
  transform: scale(0.96);
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  border: none;
  animation: textGradient 6s ease infinite;
}

[data-theme="dark"] .btn-primary,
:root .btn-primary {
  color: #0a0a1a;
  font-weight: 700;
}

[data-theme="light"] .btn-primary {
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 60px rgba(96, 180, 255, 0.10);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-block {
  width: 100%;
}

.btn-telegram {
  background: #2AABEE;
  color: #fff;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.35);
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-telegram:hover {
  background: #1d96d6;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 171, 238, 0.45);
}

.btn-telegram:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 10px var(--s-md);
  font-size: 0.80rem;
  min-height: 42px;
}

.btn-group {
  display: flex;
  gap: var(--s-sm);
}

.btn-group .btn {
  flex: 1;
}


/* ╔══════════════════════════════════════════╗
   ║  PRICE DETAILS                          ║
   ╚══════════════════════════════════════════╝ */
.price-details {
  display: none;
  margin-top: var(--s-md);
}

.price-details.open {
  display: block;
  animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-list {
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 0.88rem;
  animation: fadeInUp 0.3s ease-out both;
}

.price-list li:last-child {
  border-bottom: none;
}

/* Stagger animations */
.price-list li:nth-child(1) {
  animation-delay: 0.02s;
}

.price-list li:nth-child(2) {
  animation-delay: 0.04s;
}

.price-list li:nth-child(3) {
  animation-delay: 0.06s;
}

.price-list li:nth-child(4) {
  animation-delay: 0.08s;
}

.price-list li:nth-child(5) {
  animation-delay: 0.10s;
}

.price-list li:nth-child(6) {
  animation-delay: 0.12s;
}

.price-list li:nth-child(7) {
  animation-delay: 0.14s;
}

.price-list li:nth-child(8) {
  animation-delay: 0.16s;
}

.price-list li:nth-child(9) {
  animation-delay: 0.18s;
}

.price-list li:nth-child(10) {
  animation-delay: 0.20s;
}

.price-list li:nth-child(11) {
  animation-delay: 0.22s;
}

.price-list li:nth-child(12) {
  animation-delay: 0.24s;
}

.price-list li:nth-child(13) {
  animation-delay: 0.26s;
}

.price-list li:nth-child(14) {
  animation-delay: 0.28s;
}

.price-list li:nth-child(15) {
  animation-delay: 0.30s;
}

.price-list li:nth-child(16) {
  animation-delay: 0.32s;
}

.price-list li:nth-child(17) {
  animation-delay: 0.34s;
}

.price-list li:nth-child(18) {
  animation-delay: 0.36s;
}

.price-list li:nth-child(19) {
  animation-delay: 0.38s;
}

.price-list li:nth-child(20) {
  animation-delay: 0.40s;
}

.price-list li:nth-child(21) {
  animation-delay: 0.42s;
}

.price-list li:nth-child(22) {
  animation-delay: 0.44s;
}

.price-list li:nth-child(23) {
  animation-delay: 0.46s;
}

.price-list li:nth-child(24) {
  animation-delay: 0.48s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-list .hour {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.price-list .price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.price-list li.current-hour {
  background: var(--glass-bg-strong);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  margin: 2px -14px;
  border-bottom: none;
  box-shadow: inset 0 0 25px rgba(96, 180, 255, 0.04);
}


/* ╔══════════════════════════════════════════╗
   ║  INPUTS                                 ║
   ╚══════════════════════════════════════════╝ */
input[type="date"] {
  width: 100%;
  padding: 14px var(--s-md);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  min-height: 50px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="date"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow), 0 0 24px rgba(96, 180, 255, 0.08);
}


/* ╔══════════════════════════════════════════╗
   ║  TOGGLE SWITCH                          ║
   ╚══════════════════════════════════════════╝ */
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--divider);
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-info {
  flex: 1;
  margin-right: var(--s-md);
}

.setting-info .setting-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.setting-info .setting-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.45;
}

.toggle {
  position: relative;
  width: 54px;
  height: 32px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--toggle-bg);
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.toggle input:checked+.toggle-slider {
  background: var(--toggle-active);
  box-shadow: 0 0 18px rgba(48, 209, 88, 0.35);
}

.toggle input:checked+.toggle-slider::after {
  transform: translateX(22px);
}


/* ╔══════════════════════════════════════════╗
   ║  SEGMENTED CONTROL                      ║
   ╚══════════════════════════════════════════╝ */
.segmented-control {
  display: flex;
  background: var(--input-bg);
  border-radius: var(--r-sm);
  padding: 4px;
  border: 1px solid var(--glass-border-light);
}

.segmented-control label {
  flex: 1;
  text-align: center;
  padding: 11px var(--s-sm);
  border-radius: calc(var(--r-sm) - 4px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}

.segmented-control input {
  display: none;
}

.segmented-control input:checked+label {
  background: var(--glass-bg-strong);
  color: var(--text-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* ╔══════════════════════════════════════════╗
   ║  BOTTOM TAB BAR – Frosted Dock          ║
   ╚══════════════════════════════════════════╝ */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tab-height) + var(--safe-bottom));
  background: var(--tab-bg);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-top: 1px solid var(--glass-border-light);
  display: flex;
  justify-content: center;
  padding-bottom: var(--safe-bottom);
  z-index: 1000;
}

/* Top specular line */
.tab-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.tab-bar-inner {
  display: flex;
  max-width: 430px;
  width: 100%;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: var(--s-sm) 0;
  color: var(--tab-inactive);
  font-size: 0.60rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
  position: relative;
}

.tab-item.active {
  color: var(--tab-active);
}

/* Glowing dot under active tab */
.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tab-active);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
  animation: dotGlow 2.5s ease-in-out infinite;
}

@keyframes dotGlow {

  0%,
  100% {
    box-shadow: 0 0 8px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 16px var(--accent-glow), 0 0 6px var(--tab-active);
  }
}

.tab-item:active {
  transform: scale(0.88);
}

.tab-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
  transition: transform 0.25s ease;
}

.tab-item.active svg {
  transform: translateY(-1px) scale(1.05);
}


/* ╔══════════════════════════════════════════╗
   ║  FAQ ACCORDION                          ║
   ╚══════════════════════════════════════════╝ */
.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--s-md) 0;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-sm);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: var(--s-md);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.75;
}


/* ╔══════════════════════════════════════════╗
   ║  MENU LIST                              ║
   ╚══════════════════════════════════════════╝ */
.menu-list {
  list-style: none;
}

.menu-list li {
  border-bottom: 1px solid var(--divider);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list a,
.menu-list button {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-md) 0;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-list button:active {
  transform: scale(0.98);
  opacity: 0.7;
}

.menu-list .menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.menu-list .menu-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.menu-list button:hover .menu-arrow {
  transform: translateX(4px);
}


/* ╔══════════════════════════════════════════╗
   ║  SUPPORT PAGE                           ║
   ╚══════════════════════════════════════════╝ */
.support-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: var(--s-lg);
}

.referral-code {
  text-align: center;
  padding: var(--s-xl);
  margin: var(--s-md) 0;
  border-radius: var(--r-md);
}

.referral-code .code {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: var(--s-md) var(--s-xl);
  border-radius: var(--r-sm);
  margin-top: var(--s-sm);
  user-select: all;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 6s ease infinite;
  border: 2px dashed var(--accent);
}


/* ╔══════════════════════════════════════════╗
   ║  IMPRESSUM                              ║
   ╚══════════════════════════════════════════╝ */
.impressum-content {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.impressum-content strong {
  color: var(--text-primary);
}

.impressum-content a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.impressum-content a:hover {
  opacity: 0.7;
}


/* ╔══════════════════════════════════════════╗
   ║  SECTION TITLE                          ║
   ╚══════════════════════════════════════════╝ */
.section-title {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--s-sm);
  margin-top: var(--s-lg);
}

.section-title:first-child {
  margin-top: 0;
}


/* ╔══════════════════════════════════════════╗
   ║  BACK BUTTON                            ║
   ╚══════════════════════════════════════════╝ */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: var(--s-sm) 0;
  margin-bottom: var(--s-sm);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-btn:active {
  transform: translateX(-4px);
  opacity: 0.7;
}

.back-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.back-btn:hover svg {
  transform: translateX(-3px);
}


/* ╔══════════════════════════════════════════╗
   ║  LOADING SKELETONS                      ║
   ╚══════════════════════════════════════════╝ */
.skeleton {
  background: linear-gradient(90deg,
      var(--glass-bg) 0%,
      rgba(96, 180, 255, 0.04) 30%,
      var(--glass-bg-strong) 50%,
      rgba(167, 139, 250, 0.04) 70%,
      var(--glass-bg) 100%);
  background-size: 400% 100%;
  animation: shimmer 2.2s ease-in-out infinite;
  border-radius: var(--r-sm);
}

@keyframes shimmer {
  0% {
    background-position: 400% 0;
  }

  100% {
    background-position: -400% 0;
  }
}

.skeleton-price {
  width: 160px;
  height: 56px;
  margin: 0 auto var(--s-sm);
}

.skeleton-chart {
  width: 100%;
  height: 300px;
}


/* ╔══════════════════════════════════════════╗
   ║  UTILITIES                              ║
   ╚══════════════════════════════════════════╝ */
.mt-sm {
  margin-top: var(--s-sm);
}

.mt-md {
  margin-top: var(--s-md);
}

.mt-lg {
  margin-top: var(--s-lg);
}

.mb-md {
  margin-bottom: var(--s-md);
}

.mb-lg {
  margin-bottom: var(--s-lg);
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
}

.date-picker-section {
  margin-bottom: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.date-nav-group {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  width: 100%;
}

.date-nav-group input[type="date"] {
  flex: 1;
  min-width: 0;
}

.btn-icon {
  width: 50px;
  height: 50px;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-today-btn {
  width: 100%;
  padding: 12px;
  min-height: 44px;
  font-size: 0.85rem;
}



/* ╔══════════════════════════════════════════╗
   ║  DEVICE PRESET CHIPS                    ║
   ╚══════════════════════════════════════════╝ */
.planner-presets {
  display: flex;
  gap: var(--s-sm);
  flex-wrap: wrap;
  margin-bottom: var(--s-md);
}

.preset-chip {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  text-align: center;
}

.preset-chip:hover {
  background: var(--glass-bg-strong);
  color: var(--text-primary);
  border-color: var(--accent);
}

.preset-chip.active {
  background: #2AABEE;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(42, 171, 238, 0.40);
}

.preset-chip:active {
  transform: scale(0.94);
}


/* ╔══════════════════════════════════════════╗
   ║  CHART TOMORROW DIVIDER                 ║
   ╚══════════════════════════════════════════╝ */
.chart-day-divider {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin: var(--s-sm) 0 4px;
  padding-right: 70px;
}

.chart-day-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.chart-day-divider-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}



/* ╔══════════════════════════════════════════╗
   ║  LAST UPDATED TIMESTAMP                 ║
   ╚══════════════════════════════════════════╝ */
.last-updated {
  font-size: 0.70rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--s-sm);
  letter-spacing: 0.02em;
}


/* ╔══════════════════════════════════════════╗
   ║  iOS INSTALL BANNER                     ║
   ╚══════════════════════════════════════════╝ */
.ios-install-banner {
  position: fixed;
  bottom: calc(var(--tab-height) + var(--safe-bottom) + 12px);
  left: var(--s-md);
  right: var(--s-md);
  max-width: 398px;
  margin: 0 auto;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--s-md);
  box-shadow: var(--glass-shadow-hover);
  z-index: 900;
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  animation: slideUpBanner 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUpBanner {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ios-install-banner .banner-icon-large {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.ios-install-banner .banner-body {
  flex: 1;
  min-width: 0;
}

.ios-install-banner .banner-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ios-install-banner .banner-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.ios-install-banner .banner-desc strong {
  color: var(--accent);
}

.ios-install-banner .banner-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.ios-install-banner.hiding {
  animation: slideDownBanner 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes slideDownBanner {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}


/* ╔══════════════════════════════════════════╗
   ║  PLANNER                                ║
   ╚══════════════════════════════════════════╝ */

/* Slider */
.planner-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  outline: none;
  margin: 8px 0 0;
}

.planner-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  box-shadow: 0 2px 12px var(--accent-glow), 0 0 0 3px var(--bg-surface);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.planner-slider::-webkit-slider-thumb:active {
  transform: scale(1.15);
  box-shadow: 0 4px 20px var(--accent-glow), 0 0 0 3px var(--bg-surface);
}

.planner-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  box-shadow: 0 2px 12px var(--accent-glow);
  border: 3px solid var(--bg-surface);
}

.planner-slider::-moz-range-track {
  background: var(--glass-border);
  height: 6px;
  border-radius: 3px;
  border: none;
}

/* Action Button */
.planner-action-btn {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  color: #fff;
  background: #2AABEE;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.35);
}

.planner-action-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 28px rgba(42, 171, 238, 0.45), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.planner-action-btn:active {
  transform: scale(0.98);
}

.planner-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}