/* ==========================================================================
   GROOVETAG — MOBILE UX REFACTOR & SAAS POLISH (V3.0)
   ========================================================================== */

/* --- 1. Glassmorphism & Cards 2.0 (Refined Dark Tech) --- */
.glass-card {
  background: var(--bg-card, rgba(15, 23, 42, 0.75)) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06)) !important;
  border-top: 1px solid var(--border-highlight, rgba(255, 255, 255, 0.14)) !important;
  border-radius: 18px !important;
  contain: paint !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card input, .glass-card select, .glass-card button, .glass-card textarea {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

/* --- 2. Mobile Touch Targets & Bounds --- */
button, input, select, textarea, a.btn {
  min-height: 44px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body, .app-container, .main-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* --- 3. Keyboard Open State --- */
body.keyboard-open .main-content {
  padding-bottom: 20px !important;
}

/* --- 4. Payment Form Refactor (Compact & Selector) --- */
.amount-currency-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
  align-items: flex-end;
}

.payment-method-selector-box {
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
}

.inline-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- 5. Compact NFC Status & Single Primary CTA --- */
.nfc-compact-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.nfc-compact-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* --- 6. NFC Success Screen --- */
.nfc-success-card {
  text-align: center;
  padding: 24px 18px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  animation: fadeIn 0.4s ease-out;
}

.nfc-success-card .icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 10px;
}

.nfc-success-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.nfc-success-url-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 12px;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: #a855f7;
  word-break: break-all;
  margin: 15px 0;
}

/* --- 7. Inputs & Forms Premium Polish --- */
input[type="text"], 
input[type="url"], 
input[type="password"], 
input[type="number"], 
select, 
textarea {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  color: var(--text-main) !important;
  transition: all 0.25s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

input[type="text"]:focus, 
input[type="url"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
select:focus, 
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 
              0 0 25px -5px rgba(168, 85, 247, 0.3) !important;
  outline: none !important;
}

/* --- 8. Premium Buttons --- */
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 15px 35px -5px rgba(168, 85, 247, 0.6), 
              inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* --- 9. Accordion (Progressive Disclosure) --- */
details.adv-options {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

details.adv-options[open] {
  background: rgba(15, 23, 42, 0.4) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5) !important;
}

details.adv-options summary {
  list-style: none;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}

details.adv-options summary::-webkit-details-marker {
  display: none;
}

details.adv-options summary::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

details.adv-options[open] summary::after {
  transform: rotate(180deg);
}

details.adv-options > :not(summary) {
  padding: 0 18px 18px 18px;
}

/* --- 10. Result Card & Short URL Hero --- */
#creation-result {
  text-align: center;
  position: relative;
  overflow: hidden;
}

#result-short-url {
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: 24px !important;
  font-weight: 700;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.08) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  border-radius: 14px !important;
  text-align: center;
  padding: 14px 16px !important;
  margin-bottom: 20px;
  width: 100%;
  letter-spacing: 0.03em;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* --- 11. Mobile Navigation & Floating Bar --- */
@media (max-width: 768px) {
  .mobile-nav {
    background: rgba(10, 15, 30, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5) !important;
  }

  .mobile-nav-item.active {
    color: var(--accent) !important;
    position: relative;
  }

  .mobile-nav-item.active::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
  }
}

/* ==========================================================================
   BENTO GRID 3.0 & SMART LINK BUILDER POLISH
   ========================================================================== */

/* 1. Segmented Control */
.segmented-control {
  display: flex !important;
  position: relative !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 3px !important;
  width: 100% !important;
  max-width: 320px !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.segmented-pill {
  position: absolute !important;
  top: 3px !important;
  bottom: 3px !important;
  left: 3px !important;
  width: calc(50% - 3px) !important;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  border-radius: 9px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.segmented-control[data-mode="expert"] .segmented-pill {
  transform: translateX(100%) !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45) !important;
}

.segment-btn {
  position: relative !important;
  z-index: 2 !important;
  flex: 1 !important;
  padding: 8px 16px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  box-shadow: none !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.segment-btn.active {
  color: #ffffff !important;
}

/* 2. iOS Toggle Switch */
.ios-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 8px 0 !important;
}

.ios-switch input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.ios-switch-slider {
  position: relative !important;
  display: inline-block !important;
  width: 44px !important;
  height: 24px !important;
  min-width: 44px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
  flex-shrink: 0 !important;
}

.ios-switch-slider::before {
  content: "" !important;
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 20px !important;
  height: 20px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4) !important;
}

.ios-switch input[type="checkbox"]:checked + .ios-switch-slider {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}

.ios-switch input[type="checkbox"]:checked + .ios-switch-slider::before {
  transform: translateX(20px) !important;
}

.ios-switch-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
}

/* 3. Accordion Badges */
.accordion-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  background: rgba(6, 182, 212, 0.15) !important;
  color: #06b6d4 !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  margin-left: auto !important;
}

/* 4. Bento Grid 3.0 Container */
.bento-grid-v3 {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin-top: 16px !important;
  width: 100% !important;
}

.bento-row-top {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 768px) {
  .bento-row-top {
    grid-template-columns: 1fr !important;
  }
}

.bento-card-kpi {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 18px !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  transition: border-color 0.2s ease, transform 0.2s ease !important;
}

.bento-card-kpi:hover {
  border-color: rgba(6, 182, 212, 0.35) !important;
  transform: translateY(-2px) !important;
}

.bento-kpi-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.bento-kpi-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.bento-kpi-value {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

.bento-kpi-sub {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #10b981 !important;
  margin-top: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Middle Row: Spline Chart Card */
.bento-chart-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  position: relative !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.bento-chart-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.time-range-toggles {
  display: flex !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 3px !important;
  gap: 3px !important;
}

.time-range-btn {
  padding: 5px 14px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 28px !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.time-range-btn.active {
  background: rgba(6, 182, 212, 0.25) !important;
  color: #06b6d4 !important;
  border: 1px solid rgba(6, 182, 212, 0.4) !important;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2) !important;
}

.bento-chart-title {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-range-toggles {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.time-range-btn {
  padding: 4px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-range-btn.active {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.svg-spline-container {
  width: 100%;
  height: 220px;
  position: relative;
}

.svg-spline-container svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Bottom Row: Breakdown 2-Col */
.bento-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .bento-row-bottom {
    grid-template-columns: 1fr;
  }
}

.bento-breakdown-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 20px 22px;
}

.bento-breakdown-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-progress-item {
  margin-bottom: 10px;
}

.bento-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.85);
}

.bento-progress-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.bento-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #06b6d4 0%, #10b981 100%);
  transition: width 0.5s ease;
}

/* ==========================================================================
   ULTRA-MODERN SAAS 2026 POLISH & MICRO-INTERACTIONS
   ========================================================================== */

/* Live Pulsing Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  display: inline-block;
  vertical-align: middle;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Shimmer Border Light Shimmer for Cards */
.glass-card {
  position: relative;
}

.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(6, 182, 212, 0.4) 50%, transparent 100%);
  opacity: 0.6;
}

/* Premium Focus Glow on Inputs */
input[type="text"]:focus, 
input[type="url"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
select:focus, 
textarea:focus {
  border-color: #06b6d4 !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25), 0 0 20px rgba(6, 182, 212, 0.15) !important;
}

/* Smooth Number Counter Transition */
.bento-kpi-value, .stat-value {
  transition: all 0.3s ease;
}

/* ==========================================================================
   FINAL OVERRIDES & FIXES FOR SCREENSHOT GLITCHES
   ========================================================================== */

/* 1. Universal Dark Input Styling (Fixes white Bit phone input & select dropdowns) */
input[type="text"], 
input[type="url"], 
input[type="password"], 
input[type="number"], 
input[type="tel"],
#payment-bit,
#payment-paybox,
#payment-paypal,
#payment-allpay,
select, 
textarea {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  color: #f8fafc !important;
  font-family: inherit !important;
  transition: all 0.25s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

select option {
  background: #0f172a !important;
  color: #f8fafc !important;
}

/* 2. High-Contrast Payment Result Link */
#payment-final-url {
  color: #06b6d4 !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  font-family: var(--font-mono) !important;
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.4) !important;
  text-decoration: none !important;
  word-break: break-all !important;
}

#payment-final-url:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

/* 3. Segmented Control Nuclear Reset (Fixes white button boxes in Smart Link Builder) */
.segmented-control {
  display: flex !important;
  position: relative !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 3px !important;
  width: 100% !important;
  max-width: 320px !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.segmented-pill {
  position: absolute !important;
  top: 3px !important;
  bottom: 3px !important;
  left: 3px !important;
  width: calc(50% - 3px) !important;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  border-radius: 9px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.segmented-control[data-mode="expert"] .segmented-pill {
  transform: translateX(100%) !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45) !important;
}

button.segment-btn, .segment-btn {
  position: relative !important;
  z-index: 2 !important;
  flex: 1 !important;
  padding: 8px 16px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  box-shadow: none !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

button.segment-btn.active, .segment-btn.active {
  color: #ffffff !important;
}

/* 4. Time Range Buttons Nuclear Reset (Fixes white button boxes in Analytics) */
button.time-range-btn, .time-range-btn {
  padding: 5px 14px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 28px !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
}

button.time-range-btn.active, .time-range-btn.active {
  background: rgba(6, 182, 212, 0.25) !important;
  color: #06b6d4 !important;
  border: 1px solid rgba(6, 182, 212, 0.4) !important;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2) !important;
}

/* 5. Complete Isolation of iOS Switch Checkbox */
.ios-switch input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}


