/* Email gate blur effect */
.blurred {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

/* Email overlay transition */
#emailOverlay {
  transition: opacity 0.3s ease;
}

/* Fuel type toggle */
.fuel-toggle input[type="radio"] {
  display: none;
}
.fuel-toggle label {
  cursor: pointer;
  transition: all 0.2s ease;
}
.fuel-toggle input[type="radio"]:checked + label {
  background-color: #1e40af;
  color: white;
  border-color: #1e40af;
}

/* MPG slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e40af;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e40af;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Comparison bar animation */
.comparison-bar {
  transition: width 0.8s ease-out;
}

/* Result card hover */
.result-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Timeline */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e40af;
  border: 3px solid #dbeafe;
}

/* Cookie banner */
.cookie-banner {
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Stat callout */
.stat-callout {
  border-left: 4px solid #1e40af;
}

/* Weekly card highlight */
.weekly-highlight {
  border: 2px solid #1e40af;
  position: relative;
}
.weekly-highlight::after {
  content: 'YOUR WEEKLY EXTRA';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e40af;
  color: white;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
