/* ==========================================================================
   UPI.page Neo-Modern Theme — Soft Claymorphism & Midnight Topography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Canvas & Foundations */
  --canvas-bg: #EAEDF6;
  --canvas-gradient: linear-gradient(135deg, #E6EAF5 0%, #EFF2F9 100%);
  --card-bg: #FFFFFF;
  --card-subtle: #F8F9FC;
  --card-hover: #F1F4F9;

  /* Signature Color Tokens */
  --midnight-dark: #121622;
  --midnight-darker: #0B0E17;
  --pastel-blue: #D8ECFD;
  --pastel-blue-border: #C4E0FB;
  --pastel-blue-text: #194870;
  --pastel-lavender: #D9D4F8;
  --pastel-lavender-border: #C7BEF9;
  --pastel-lavender-text: #372A75;
  --pastel-mint: #DCFCE7;
  --pastel-mint-text: #166534;
  --pastel-mint-border: #BBF7D0;
  --pastel-rose: #FFE4E6;
  --pastel-rose-text: #9F1239;

  /* Typography & Neutrals */
  --text-main: #111827;
  --text-muted: #7B8794;
  --text-subtle: #9CA3AF;
  --border: #E5E9F2;
  --border-subtle: #ECEFF5;
  --border-light: #E2E7F0;

  /* Accent & Brands */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --success-bg: var(--pastel-mint);
  --success-text: var(--pastel-mint-text);
  --success-border: var(--pastel-mint-border);
  --warning-bg: #FEF3C7;
  --warning-text: #92400E;
  --warning-border: #FDE68A;

  /* Squircles & Radii */
  --radius-outer: 38px;
  --radius-card: 26px;
  --radius-inner: 20px;
  --radius-squircle: 16px;
  --radius-btn: 14px;
  --radius-pill: 9999px;

  /* Atmospheric Shadows */
  --shadow-outer: 0 24px 48px -12px rgba(18, 26, 48, 0.12), 0 0 1px 1px rgba(18, 26, 48, 0.04);
  --shadow-card: 0 14px 28px -8px rgba(18, 26, 48, 0.06), 0 2px 6px -1px rgba(18, 26, 48, 0.02);
  --shadow-lift: 0 10px 22px -4px rgba(18, 26, 48, 0.08);
  --shadow-squircle: 0 2px 6px rgba(18, 26, 48, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--canvas-bg);
  background-image: var(--canvas-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Card Shells & Containers
   ========================================================================== */

/* Main Mobile/Desktop Stage Container */
.stage-shell {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border-radius: var(--radius-outer);
  box-shadow: var(--shadow-outer);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: relative;
}

/* Signature Topography Contour Cards */
.card-topography {
  background-color: var(--midnight-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='320' height='320' viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-50 100 Q 50 30 150 120 T 350 90 M-50 150 Q 80 80 180 170 T 350 140 M-50 200 Q 100 130 200 220 T 350 190 M-50 250 Q 120 180 220 270 T 350 240 M-50 50 Q 30 -20 120 70 T 350 40' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-topography-blue {
  background-color: var(--pastel-blue);
  background-image: url("data:image/svg+xml,%3Csvg width='320' height='320' viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-40 80 Q 60 20 160 110 T 360 70 M-40 140 Q 90 70 190 160 T 360 130 M-40 200 Q 110 130 210 210 T 360 180' fill='none' stroke='rgba(25,72,112,0.07)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--pastel-blue-text);
  border: 1px solid var(--pastel-blue-border);
}

/* ==========================================================================
   Header & Action Bar Elements
   ========================================================================== */

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.btn-squircle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: var(--radius-squircle);
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-squircle);
  text-decoration: none;
}

.btn-squircle:hover {
  background: #ECEFF7;
  transform: translateY(-1px);
}

.avatar-squircle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-squircle);
  background: var(--pastel-lavender);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pastel-lavender-text);
  box-shadow: var(--shadow-squircle);
  overflow: hidden;
  border: 2px solid white;
}

.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-card);
  background: var(--pastel-lavender);
  color: var(--pastel-lavender-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1rem auto;
  border: 3px solid white;
  box-shadow: var(--shadow-lift);
}

/* ==========================================================================
   Ribbon Bar (Horizontal Category & Day Selector)
   ========================================================================== */

.ribbon-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 1rem 0;
  margin-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.ribbon-bar::-webkit-scrollbar {
  display: none;
}

.ribbon-pill {
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.ribbon-pill:hover {
  color: var(--text-main);
  background: var(--card-subtle);
}

.ribbon-pill.active {
  background: var(--midnight-dark);
  color: white;
  border-radius: 16px;
  padding: 9px 20px;
  box-shadow: 0 4px 12px rgba(18, 22, 34, 0.25);
}

.ribbon-pill.active::after {
  content: '•';
  font-size: 0.75rem;
  line-height: 0.6;
  color: white;
}

/* ==========================================================================
   Hero Metrics & Spotlight Banners
   ========================================================================== */

.hero-metric-box {
  text-align: center;
  margin: 0.5rem 0 1.5rem 0;
}

.metric-caption {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  line-height: 1.1;
}

.spotlight-banner {
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.spotlight-info {
  flex: 1;
}

.spotlight-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.spotlight-sub {
  font-size: 0.825rem;
  font-weight: 600;
  opacity: 0.85;
}

.spotlight-badge {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

/* ==========================================================================
   2x2 Activity Grid (Screen 1 Style)
   ========================================================================== */

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 1rem 0 1.75rem 0;
}

.grid-card {
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 155px;
  transition: all 0.18s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.grid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.grid-card-light {
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.grid-card-light:hover {
  background: white;
  border-color: var(--border-light);
}

.grid-card-lavender {
  background: var(--pastel-lavender);
  border: 1px solid var(--pastel-lavender-border);
  color: var(--pastel-lavender-text);
}

.grid-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.grid-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.grid-card-sub {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}

/* ==========================================================================
   Horizontal List Items (Screen 2 Style)
   ========================================================================== */

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.list-item-card {
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-inner);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.list-item-card:hover {
  background: white;
  border-color: var(--border-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.list-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-squircle);
  background: white;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-squircle);
}

.list-item-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.list-item-sub {
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ==========================================================================
   Action Banners & Detail Cards (Screen 3 Style)
   ========================================================================== */

.hero-action-banner {
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 1.25rem 0;
  text-decoration: none;
}

.hero-action-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 22, 34, 0.35);
}

.hero-action-label {
  font-size: 0.775rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 2px;
}

.hero-action-val {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.avatar-group-item:first-child {
  margin-left: 0;
}

/* ==========================================================================
   Floating Bottom Tab Bar
   ========================================================================== */

.floating-tab-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  box-shadow: 0 16px 36px -6px rgba(18, 26, 48, 0.16);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  z-index: 60;
  max-width: 380px;
  width: calc(100% - 32px);
  justify-content: space-around;
}

.floating-tab-btn {
  background: none;
  border: none;
  min-width: 52px;
  min-height: 48px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 700;
}

.floating-tab-btn.active {
  background: var(--midnight-dark);
  color: white;
  box-shadow: 0 6px 16px rgba(18, 22, 34, 0.28);
}

.floating-tab-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  background-color: var(--midnight-dark);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.15s ease;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 22, 34, 0.18);
}

.btn-primary:hover {
  background-color: var(--midnight-darker);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  background-color: var(--card-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #ECEFF7;
}

.input-neo {
  width: 100%;
  min-height: 48px;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
  margin-bottom: 0.75rem;
}

.input-neo:focus {
  background: white;
  border-color: var(--midnight-dark);
  box-shadow: 0 0 0 3px rgba(18, 22, 34, 0.08);
}

/* ==========================================================================
   Badges, Modals, Utilities
   ========================================================================== */

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--pastel-mint);
  color: var(--pastel-mint-text);
  border: 1px solid var(--pastel-mint-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.warning-banner {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-btn);
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  margin-top: 1rem;
  text-align: left;
}

.destination-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.25rem 0 0.5rem 0;
}

.dest-tab {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dest-tab.active {
  background: var(--midnight-dark);
  color: white;
  border-color: var(--midnight-dark);
}

.qr-container {
  margin: 1.25rem auto 0 auto;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-inner);
  display: inline-block;
  box-shadow: var(--shadow-card);
}

.qr-container img {
  display: block;
  width: 180px;
  height: 180px;
}

.footer-link {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-link a {
  color: var(--midnight-dark);
  text-decoration: none;
  font-weight: 600;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(18, 22, 34, 0.55);
  backdrop-filter: blur(8px);
  z-index: 70;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-outer);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--card-subtle);
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Unified Top Navigation Bar (.top-nav-unified)
   ========================================================================== */

.top-nav-unified {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 14px rgba(18, 26, 48, 0.03);
}

.top-nav-unified-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--midnight-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
}

.nav-identity-chip {
  background: var(--pastel-lavender);
  border: 1px solid var(--pastel-lavender-border);
  color: var(--pastel-lavender-text);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-identity-chip:hover {
  background: #CDC5F6;
  transform: translateY(-1px);
}

.nav-tab-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab-pill {
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-tab-pill:hover {
  background: var(--card-subtle);
  color: var(--text-main);
}

.nav-tab-pill.active {
  background: var(--midnight-dark);
  color: white;
  box-shadow: 0 4px 12px rgba(18, 22, 34, 0.2);
}

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

/* ==========================================================================
   Frameless Floating Glass Preview (.frameless-preview-card)
   ========================================================================== */

.frameless-preview-card {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-outer);
  padding: 1.75rem;
  box-shadow: var(--shadow-outer);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.preview-pill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--pastel-mint);
  color: var(--pastel-mint-text);
}

/* ==========================================================================
   Interactive Chart & Metric Displays
   ========================================================================== */

.chart-card-modern {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.chart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.chart-range-group {
  display: inline-flex;
  background: var(--card-subtle);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.chart-range-btn {
  background: transparent;
  border: none;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chart-range-btn:hover {
  color: var(--text-main);
}

.chart-range-btn.active {
  background: var(--midnight-dark);
  color: white;
  box-shadow: 0 2px 6px rgba(18, 22, 34, 0.15);
}

.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 160px;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  position: relative;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
}

.chart-bar-fill {
  width: 100%;
  max-width: 38px;
  background: linear-gradient(180deg, #372A75 0%, var(--midnight-dark) 100%);
  border-radius: 10px 10px 4px 4px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.chart-bar-col:hover .chart-bar-fill {
  filter: brightness(1.2);
  transform: scaleY(1.04);
}

.chart-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.chart-bar-tooltip {
  position: absolute;
  top: -28px;
  background: var(--midnight-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.15s ease;
  z-index: 10;
}

.chart-bar-col:hover .chart-bar-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Global Fixed Toast Container (.toast-container-fixed)
   ========================================================================== */

.toast-container-fixed {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.app-toast-pill {
  background: var(--midnight-dark);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(18, 22, 34, 0.4);
  pointer-events: auto;
  animation: toastSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

