
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fe;
  color: #191c1f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Gradients  */
.primary-gradient {
  background: linear-gradient(135deg, #004b71 0%, #006494 100%);
}

.progress-bar-gradient {
  background: linear-gradient(135deg, #2c694e 0%, #aeeecb 100%);
}

/* ─── Card Shadows (Tinted Ambient) */
.card-shadow {
  box-shadow: 0px 20px 40px rgba(0, 75, 113, 0.05);
}

/* ─── Screen Management  */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* ─── Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(177, 240, 206, 0); }
  50%      { box-shadow: 0 0 20px 4px rgba(177, 240, 206, 0.4); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out both;
}

.animate-slideUp {
  animation: slideUp 0.6s ease-out both;
  animation-delay: 0.15s;
}

.pulse-success {
  animation: pulse-glow 0.8s ease-in-out;
}

/* ─── Radio Cards  */
.radio-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #f2f4f8;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-card:hover {
  background: rgba(203, 230, 255, 0.3);
}

/* ─── Day Selector Buttons  */
.day-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid rgba(192, 199, 208, 0.3);
  color: #40484f;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}

.day-btn:hover {
  border-color: rgba(0, 75, 113, 0.5);
  background: rgba(203, 230, 255, 0.2);
}

.day-btn.active {
  background: #aeeecb;
  color: #316e52;
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(44, 105, 78, 0.2);
}

/* ─── Stepper Buttons */
.stepper-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: #f2f4f8;
  border: none;
  color: #004b71;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.stepper-btn:hover {
  background: #cbe6ff;
}

.stepper-btn:active {
  transform: scale(0.92);
}

/* ─── Holiday Chip */
.holiday-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: #ffdad3;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3e0400;
  animation: fadeIn 0.3s ease-out;
}
.floating-text {
  position: absolute;
  top: 50%;
  left: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgb(0, 0, 0);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
}

.holiday-chip button {
  background: none;
  border: none;
  color: #8e1300;
  cursor: pointer;
  padding: 0;
  display: flex;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.holiday-chip button:hover {
  opacity: 1;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
}


::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c0c7d0;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #707880;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

/* ─── Responsive Adjustments  */
@media (max-width: 768px) {
  .day-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
  }
}
