/* 
  Viajes Pamplona - Premium Minimalist Design System
  Author: Antigravity UI/UX Frontend Expert
*/

:root {
  /* Elegant Color Palette */
  --bg-primary: #FAF9F6;        /* Warm ivory / Off-white */
  --bg-card: #FFFFFF;           /* Pure white for visual hierarchy */
  --text-primary: #121212;      /* Deep matte charcoal */
  --text-secondary: #6B6862;    /* Refined grey for labels and captions */
  --accent: #C85A32;            /* Luxurious terracotta / sienna */
  --accent-hover: #A9442C;      /* Darker accent for active states */
  --accent-soft: rgba(200, 90, 50, 0.06);
  --accent-soft-hover: rgba(200, 90, 50, 0.12);
  
  /* Borders and Shadows */
  --border-color: rgba(18, 18, 18, 0.07);
  --border-color-focus: rgba(200, 90, 50, 0.4);
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  
  --shadow-premium: 
    0 30px 100px rgba(18, 18, 18, 0.05), 
    0 10px 40px rgba(18, 18, 18, 0.02),
    0 2px 8px rgba(18, 18, 18, 0.01);
  --shadow-hover: 
    0 30px 60px rgba(200, 90, 50, 0.06), 
    0 10px 20px rgba(200, 90, 50, 0.02);
  
  /* Typography & Transitions */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Brand specific */
  --whatsapp-color: #075E54;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #128C7E;
}

/* Base resets & styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden; /* Lock vertical scrolling completely */
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden; /* Lock vertical scrolling completely */
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Ambient Decorative Glows (Premium Visual Aesthetic) */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.glow-1 {
  background: radial-gradient(circle, rgba(200, 90, 50, 0.2) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: floatAmbient 20s infinite alternate ease-in-out;
}

.glow-2 {
  background: radial-gradient(circle, rgba(169, 68, 44, 0.15) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: floatAmbient 25s infinite alternate-reverse ease-in-out;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Container & Layout */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Header */
.app-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.brand:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Main Wizard Card styling */
.wizard-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 48px 24px 48px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  flex-grow: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 360px;
  animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Progress Tracker Bar */
.progress-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: transparent;
}

.progress-bar {
  display: none !important;
}

.progress-steps-indicator {
  position: absolute;
  top: 16px;
  right: 24px;
  display: flex;
  gap: 6px;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(18, 18, 18, 0.1);
  transition: var(--transition-fast);
}

.step-dot.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* Step Layout & Typography */
.wizard-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

.step-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.step-subtitle {
  display: none;
}

/* STEP 1: Destination input styles */
.input-group {
  position: relative;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.minimal-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color);
  padding: 16px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-family);
  transition: var(--transition-fast);
}

.minimal-input::placeholder {
  color: rgba(18, 18, 18, 0.25);
  font-weight: 400;
}

.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.minimal-input:focus ~ .input-focus-line {
  width: 100%;
  left: 0;
}

/* STEP 2: Custom Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  flex-grow: 1;
  margin-bottom: 24px;
  padding: 4px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.services-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  cursor: pointer;
  background-color: var(--bg-card);
  transition: var(--transition-smooth);
  position: relative;
  user-select: none;
}

.hidden-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.card-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.icon-wrapper {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.srv-icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.5px;
}

.checkbox-indicator {
  display: none !important; /* Hide circular indicator entirely */
}

/* Service Card Active/Checked states */
.service-card:hover {
  border-color: var(--border-color-focus);
  box-shadow: 0 10px 25px rgba(18, 18, 18, 0.02);
}

.service-card:has(.hidden-checkbox:checked) {
  border-color: #20BA5A; /* Emerald green accent border */
  background-color: rgba(32, 186, 90, 0.05); /* Soft minty-green wash */
}

.service-card:has(.hidden-checkbox:checked) .icon-wrapper {
  color: #20BA5A; /* Emerald green icon color */
  transform: translateY(-2px);
}

.service-card:has(.hidden-checkbox:checked) .service-name {
  color: #1B9D4C; /* Sophisticated darker green text for contrast */
}

.service-card:has(.hidden-checkbox:checked):hover {
  border-color: #1B9D4C;
  background-color: rgba(32, 186, 90, 0.08);
}

.service-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* STEP 3: Dates & Duration custom layout */
.datetime-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}

.control-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.control-box-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.half-width {
  flex: 1;
  min-width: 0;
}

.label-subtext {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Custom modern datepicker input wrapper */
.date-input-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
}

.date-input-wrapper::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  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='%236B6862' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-fast);
}

.date-input-wrapper:focus-within::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C85A32' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.minimal-date-input {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: transparent; /* hide native text */
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: var(--transition-fast);
  -webkit-appearance: none;
}

.minimal-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
}

.minimal-date-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.date-placeholder-mask {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(18, 18, 18, 0.25);
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-fast);
}

.date-placeholder-mask.has-value {
  color: var(--text-primary);
}

/* Stepper Custom Element styling */
.number-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 6px;
  background-color: var(--bg-card);
  max-width: 100%;
}

.stepper-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.stepper-btn:hover {
  background-color: var(--bg-primary);
  color: var(--accent);
}

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

.stepper-btn svg {
  width: 18px;
  height: 18px;
}

.stepper-value-container {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stepper-input {
  font-family: var(--font-family);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  background: transparent;
  border: none;
  width: 84px;
  text-align: center;
  outline: none;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  transition: var(--transition-fast);
}

.stepper-input:focus {
  color: var(--accent);
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* STEP 4: Summary Card details */
.summary-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  background-color: var(--bg-primary);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(18, 18, 18, 0.08);
}

.border-none {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.summary-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  max-width: 60%;
  word-wrap: break-word;
}

.badge-success {
  color: #128C7E;
}

/* Premium Button Actions Styling */
.step-actions {
  display: flex;
  margin-top: auto;
  width: 100%;
}

.split-buttons {
  gap: 16px;
}

.final-actions {
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
  outline: none;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  flex-grow: 2;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-hover);
  box-shadow: 0 10px 25px rgba(200, 90, 50, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-primary:disabled {
  background-color: rgba(18, 18, 18, 0.05);
  color: rgba(18, 18, 18, 0.25);
  cursor: not-allowed;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  flex-grow: 1;
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-secondary:active {
  transform: translateY(1px);
}

/* Magic WhatsApp Button Styles */
.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  width: 100%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-whatsapp:active {
  transform: translateY(1px);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary:hover .btn-arrow.arrow-left {
  transform: translateX(-4px);
}

/* Footer Section */
.app-footer {
  text-align: center;
  margin-top: 48px;
  font-size: 0.8rem;
  color: rgba(18, 18, 18, 0.3);
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* STEP TRANSITIONS (Fluid and GPU-accelerated) */
.wizard-step {
  animation: stepEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes stepEntrance {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 10px 30px rgba(18, 18, 18, 0.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: var(--shadow-premium);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Destination Autocomplete Suggestions Dropdown */
.suggestions-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-top: 6px;
  box-shadow: 0 15px 35px rgba(18, 18, 18, 0.08), 0 5px 15px rgba(18, 18, 18, 0.03);
  z-index: 100;
  -webkit-overflow-scrolling: touch;
}

.suggestions-container::-webkit-scrollbar {
  width: 6px;
}

.suggestions-container::-webkit-scrollbar-track {
  background: transparent;
}

.suggestions-container::-webkit-scrollbar-thumb {
  background: rgba(18, 18, 18, 0.1);
  border-radius: 3px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(18, 18, 18, 0.03);
  transition: var(--transition-fast);
  text-align: left;
  user-select: none;
  border-left: 3px solid transparent;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background-color: var(--accent-soft);
  border-left-color: var(--accent);
  padding-left: 24px; /* Premium micro-animation shift */
}

.suggestion-icon {
  margin-right: 14px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suggestion-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.suggestion-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Premium Toggle Switch for Flexible Dates */
.toggle-container {
  display: flex;
  align-items: center;
  margin-top: 12px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  width: fit-content;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  background-color: rgba(18, 18, 18, 0.1);
  border-radius: 12px;
  margin-right: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(18, 18, 18, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-container:hover .toggle-switch {
  background-color: rgba(18, 18, 18, 0.15);
}

.toggle-input:checked + .toggle-switch {
  background-color: #20BA5A; /* Emerald green background */
  border-color: rgba(32, 186, 90, 0.1);
}

.toggle-input:checked + .toggle-switch::after {
  transform: translateX(18px); /* Slide to the right */
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.toggle-input:checked ~ .toggle-label {
  color: var(--text-primary);
}

.date-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.date-row .date-input-wrapper {
  flex: 1;
}

.date-row .toggle-container {
  margin-top: 0;
  padding: 0;
  flex-shrink: 0;
}

/* Ultra Minimalist Floating Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 95%;
  max-width: 460px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 15px 35px rgba(18, 18, 18, 0.08), 0 5px 15px rgba(18, 18, 18, 0.03);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

.btn-cookie-accept {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  font-family: var(--font-family);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
}

.btn-cookie-accept:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .date-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .date-row .toggle-container {
    margin-top: 4px;
    align-self: flex-start;
  }

  .datetime-controls {
    gap: 12px;
    margin-bottom: 12px;
  }

  .control-box {
    gap: 6px;
  }

  .summary-card {
    padding: 12px 16px;
    margin-bottom: 12px;
    gap: 10px;
  }

  .cookie-banner {
    bottom: 16px;
    padding: 10px 16px;
    gap: 12px;
  }
  
  .cookie-text {
    font-size: 0.74rem;
  }
  
  .btn-cookie-accept {
    padding: 6px 12px;
    font-size: 0.74rem;
  }

  .app-container {
    padding: 12px 16px;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    justify-content: space-between;
  }
  
  .app-header {
    margin-bottom: 12px;
  }

  .app-footer {
    margin-top: 12px;
  }

  .wizard-card {
    padding: 24px 20px 12px 20px;
    min-height: auto;
  }

  .step-badge {
    margin-bottom: 6px;
  }

  .step-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .step-subtitle {
    display: none;
  }

  .minimal-input {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    flex-grow: 1;
    margin-bottom: 16px;
    padding: 2px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  .services-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
  }



  .service-card {
    padding: 8px 6px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 6px;
  }

  .card-visual {
    margin-bottom: 4px;
    width: 100%;
    justify-content: center;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .checkbox-indicator {
    position: absolute;
    top: -4px;
    right: -4px;
    order: unset;
  }

  .icon-wrapper {
    order: unset;
  }

  .srv-icon {
    width: 24px;
    height: 24px;
  }

  .service-name {
    font-size: 0.85rem;
  }

  .stepper-input {
    font-size: 1.8rem;
    width: 68px;
  }

  .stepper-btn {
    width: 40px;
    height: 40px;
  }

  .split-buttons {
    flex-direction: row;
    gap: 12px;
    width: 100%;
  }

  .split-buttons .btn {
    width: auto;
  }

  .split-buttons .btn-prev {
    flex: 1 1 30%;
  }

  .split-buttons .btn-next,
  .split-buttons .btn-whatsapp {
    flex: 2 1 70%;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
  }

  #step-4 .step-actions {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
  }

  #step-4 .step-actions .btn {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 380px) {
  .btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .whatsapp-icon, .btn-arrow {
    width: 16px;
    height: 16px;
  }

  .wizard-card {
    padding: 12px 14px 14px 14px;
  }
  .step-badge {
    margin-bottom: 4px;
  }
  .step-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .datetime-controls {
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .control-box {
    gap: 4px;
  }
  
  .summary-card {
    padding: 8px 12px;
    margin-bottom: 8px;
    gap: 8px;
  }
}
