/* CNOS-FAP Regione Liguria - Apple Liquid Glass & Modern Minimalist Design */

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

:root {
  --cnos-blue: #006699;
  --cnos-blue-dark: #004c73;
  --cnos-blue-accent: #0284c7;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(226, 232, 240, 0.8);
  --glass-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.06), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  --glass-shadow-hover: 0 20px 45px -8px rgba(0, 102, 153, 0.12), 0 0 1px 1px rgba(255, 255, 255, 1) inset;
}

body {
  font-family: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #334155;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 15% 15%, rgba(2, 132, 199, 0.07) 0px, transparent 45%),
    radial-gradient(at 85% 25%, rgba(14, 165, 233, 0.06) 0px, transparent 40%),
    radial-gradient(at 50% 65%, rgba(0, 102, 153, 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 85%, rgba(99, 102, 241, 0.04) 0px, transparent 45%);
  background-attachment: fixed;
  background-size: cover;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Apple Liquid Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}

/* Glass Header (Floating/Sticky) */
.glass-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

/* Glass Pills & Badges */
.glass-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
}

/* Dark Glass Banner */
.glass-hero-banner {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.94) 0%, rgba(19, 59, 92, 0.92) 50%, rgba(0, 102, 153, 0.9) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px -12px rgba(11, 37, 69, 0.3), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset;
  border-radius: 24px;
}

/* Apple-style Buttons */
.btn-apple-primary {
  background: #006699;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 9999px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 102, 153, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-apple-primary:hover {
  background: #004c73;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 153, 0.36);
}

.btn-apple-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b !important;
  font-weight: 600;
  border-radius: 9999px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apple-secondary:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Inputs with Liquid Glass styling */
.glass-input {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #006699;
  box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.15);
}

/* Nav Item Apple style */
.apple-nav-item {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.apple-nav-item:hover {
  color: #006699;
  background: rgba(0, 102, 153, 0.06);
}

.apple-nav-item.active {
  color: #006699;
  font-weight: 700;
  background: rgba(0, 102, 153, 0.09);
}

/* Apple Floating Island Nav Capsule & Pills */
.nav-pill {
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-pill:hover {
  color: #006699;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-pill.active {
  color: #006699;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

/* Sector Card Hover Lift & Image Zoom */
.sector-glass-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -10px rgba(0, 102, 153, 0.16), 0 0 1px 1px rgba(255, 255, 255, 1) inset;
}

.zoom-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-glass-card:hover .zoom-img {
  transform: scale(1.06);
}

.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Glass Footer */
.glass-footer {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

/* ========================================================
   OTTIMIZZAZIONI SPECIFICHE PER APPLE IOS, SAFARI & IPHONE
   ======================================================== */

/* 1. Reset per evitare zoom forzato di Safari su iPhone */
@media screen and (max-width: 768px) {
  input, select, textarea, .glass-input {
    font-size: 16px !important; /* Obbligatorio su iOS per evitare lo zoom automatico al tap */
    line-height: 1.4 !important;
  }
}

/* 2. Pulizia dell'aspetto nativo WebKit (evita bevel e ombre obsolete di Safari) */
input, select, textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Freccia custom elegante per i menù a tendina select su iOS */
select.glass-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23006699' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

/* 3. Supporto Safe Area Insets (Notch, Dynamic Island e Home Bar iPhone) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  -webkit-overflow-scrolling: touch;
}

.glass-header {
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}

/* 4. Touch target ergonomici (minimo 44px conformi alle Apple Human Interface Guidelines) */
button, .btn-apple-primary, .btn-apple-secondary, a.apple-nav-item, .mobile-nav-link {
  min-height: 44px;
  touch-action: manipulation;
}

/* 5. Menu Mobile Liquid Glass per iPhone */
#mobile-menu-drawer {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  transition: all 0.15s ease;
}

.mobile-nav-link:active, .mobile-nav-link:hover {
  background-color: rgba(0, 102, 153, 0.08);
  color: #006699;
}

/* 6. Widget CNOS AI - Stile Apple Liquid Glass */
#cnos-ai-widget {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  z-index: 100000 !important;
}

#cnos-ai-window {
  z-index: 100001 !important;
}


#cnos-ai-messages::-webkit-scrollbar {
  width: 5px;
}
#cnos-ai-messages::-webkit-scrollbar-track {
  background: transparent;
}
#cnos-ai-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 153, 0.18);
  border-radius: 9999px;
}

#cnos-ai-chips::-webkit-scrollbar {
  display: none;
}
#cnos-ai-chips {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ai-pulse-dot {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* ==========================================================================
   7. OTTIMIZZAZIONI ESCLUSIVE PER SMARTPHONE (iOS SAFARI & ANDROID CHROME)
   NON MODIFICA IL LAYOUT DESKTOP/TABLET (MD: / LG:)
   ========================================================================== */

/* Utility per nascondere la barra di scorrimento orizzontale */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Regole esclusive per schermi sotto i 768px (Smartphone) */
@media (max-width: 767px) {
  /* 1. Prevenzione dello zoom forzato di iOS Safari sui campi di input */
  .glass-input, 
  select.glass-input, 
  textarea.glass-input, 
  input.glass-input, 
  #cnos-ai-input {
    font-size: 16px !important;
  }

  /* 2. Spazio inferiore per non coprire il contenuto con la Mobile Tab Bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 3. Snap carousel orizzontale con rimbalzo fluido Apple iOS */
  .mobile-snap-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .mobile-snap-item {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* 4. Finestra CNOS AI come "Bottom Sheet" nativa iOS su iPhone con animazione fluida */
  #cnos-ai-widget {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
  }

  #cnos-ai-window {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 86dvh !important;
    max-height: 86dvh !important;
    border-radius: 30px 30px 0 0 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100001 !important;
    transform: translateY(105%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  }

  #cnos-ai-window.ai-sheet-open {
    transform: translateY(0%) !important;
    opacity: 1 !important;
  }
}

@media (min-width: 768px) {
  #cnos-ai-window {
    transform-origin: bottom right;
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  #cnos-ai-window.ai-sheet-open {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
  }
}

/* ========================================================
   CNOS AI - SISTEMA DI DESIGN APPLE LIQUID GLASS (iOS / visionOS)
   ======================================================== */

/* 1. Finestra Principale - Cristallo Satinato con Riflessi Speculari Apple */
.apple-liquid-window {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(32px) saturate(190%) contrast(102%) !important;
  backdrop-filter: blur(32px) saturate(190%) contrast(102%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    0 32px 75px -15px rgba(0, 45, 95, 0.28),
    0 12px 28px -6px rgba(0, 20, 50, 0.12),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 102, 153, 0.12) !important;
  border-radius: 28px !important;
}

/* 2. Barra Superiore (Header) - Vetro Liquido Blu Brand con Bagliore */
.apple-liquid-header {
  background: linear-gradient(135deg, rgba(0, 102, 153, 0.94) 0%, rgba(0, 77, 115, 0.98) 100%) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.5),
    0 4px 18px rgba(0, 50, 100, 0.15) !important;
  position: relative;
  overflow: hidden;
}

.apple-liquid-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0.06) 54%,
    transparent 60%
  );
  pointer-events: none;
}

/* 3. Area Messaggi - Trasparenza soffusa satinata */
.apple-liquid-messages {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(241, 245, 249, 0.82) 100%) !important;
}

/* 4. Bolla Risposta CNOS AI - Card Apple Frosted Glass */
.apple-liquid-bot-card {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    0 4px 20px -2px rgba(0, 40, 80, 0.06),
    inset 0 1px 1px 0 #ffffff !important;
  border-radius: 20px 20px 20px 6px !important;
  color: #1e293b !important;
}

/* 5. Bolla Messaggio Utente - Pillola Liquid Glass Blu Ufficiale */
.apple-liquid-user-pill {
  background: linear-gradient(135deg, #0077b6 0%, #005f94 50%, #004d73 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.6),
    0 6px 18px -3px rgba(0, 102, 153, 0.32) !important;
  border-radius: 20px 20px 6px 20px !important;
  color: #ffffff !important;
}

/* 6. Chip Suggerimenti Rapidi - Capsule Apple Liquid Glass */
.apple-liquid-chip {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 
    0 2px 8px rgba(0, 30, 60, 0.05),
    inset 0 1px 0 #ffffff !important;
  color: #1e293b !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.apple-liquid-chip:hover {
  background: #006699 !important;
  color: #ffffff !important;
  border-color: #006699 !important;
  box-shadow: 0 4px 14px rgba(0, 102, 153, 0.28) !important;
  transform: translateY(-1.5px) !important;
}

.apple-liquid-chip:active {
  transform: scale(0.96) !important;
}

/* 7. Dock Barra di Input - Vetro Satinato Apple */
.apple-liquid-dock {
  background: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03) !important;
}

.apple-liquid-input {
  background: rgba(241, 245, 249, 0.88) !important;
  border: 1px solid rgba(226, 232, 240, 0.92) !important;
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}

.apple-liquid-input:focus {
  background: #ffffff !important;
  border-color: #006699 !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.18), inset 0 1px 1px #fff !important;
}

/* 8. Pulsante Invio - Bottone Sferico Liquido 3D */
.apple-liquid-send-btn {
  background: linear-gradient(135deg, #0077b6 0%, #005a8c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.6),
    0 6px 16px -2px rgba(0, 102, 153, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.apple-liquid-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
    0 8px 20px -2px rgba(0, 102, 153, 0.45) !important;
}

.apple-liquid-send-btn:active {
  transform: scale(0.92);
}

/* 9. Floating Launcher Capsule (Apple Dynamic Island / visionOS Pill) */
.apple-liquid-pill-btn {
  background: linear-gradient(135deg, rgba(0, 102, 153, 0.94) 0%, rgba(0, 77, 115, 0.98) 100%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
  backdrop-filter: blur(25px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1.5px 2px 0 rgba(0, 0, 0, 0.25),
    0 16px 38px -6px rgba(0, 60, 110, 0.48),
    0 4px 12px rgba(0, 0, 0, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.apple-liquid-pill-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

/* 10. Pop-Up Teaser - Compatto & Raffinato Apple Liquid Glass */
.apple-liquid-teaser {
  background: linear-gradient(135deg, rgba(0, 92, 143, 0.97) 0%, rgba(0, 68, 105, 0.99) 100%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.60),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.2),
    0 20px 44px -8px rgba(0, 50, 100, 0.46),
    0 4px 12px rgba(0, 0, 0, 0.14) !important;
  border-radius: 18px !important;
  position: relative;
  overflow: hidden;
  max-width: 240px !important;
}

/* Riflesso speculare in cima al teaser */
.apple-liquid-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  pointer-events: none;
}

/* Codina triangolare verso il pulsante */
.apple-liquid-teaser::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 22px;
  width: 10px;
  height: 10px;
  background: #004d73;
  transform: rotate(45deg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* Animazione entrata teaser */
@keyframes teaser-bounce {
  0% { transform: translateY(16px) scale(0.88); opacity: 0; }
  55% { transform: translateY(-4px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.teaser-pop {
  animation: teaser-bounce 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Indicatore attivo pillola corso mobile */
.course-tab-pill.active {
  background: #006699 !important;
  color: #ffffff !important;
  border-color: #006699 !important;
  box-shadow: 0 2px 8px rgba(0, 102, 153, 0.25);
}
