/* ============================================
   New Landing / Splash Page Styles
   ============================================ */

.splash-screen {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background-color: #2c2c2c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow-x: hidden;
}

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

.splash-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 0;
}

/* ---------- Z-index for content above overlay ---------- */
.splash-header,
.splash-content,
.splash-footer {
  position: relative;
  z-index: 1;
}

/* ---------- Header Bar ---------- */
.splash-header {
  display: flex;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 28px) 0 clamp(16px, 5vw, 50px);
  background: #1a1a1a;
  width: 100%;
  height: clamp(72px, 14vw, 120px);
  gap: 12px;
}

.splash-header .splash-header-logo {
  max-height: clamp(48px, 9vw, 85px) !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  object-fit: contain;
}

.splash-header-title {
  color: #ffffff;
  font-size: clamp(24px, 3.3vw, 26px);
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
  margin-left: clamp(8px, 2vw, 15px);
}

/* ---------- Main Content Area ---------- */
.splash-content {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* safe center keeps vertical centering when content fits, and falls back to
     flex-start when it would overflow — prevents the top from being cut off. */
  justify-content: safe center;
  padding: clamp(18px, 4vw, 40px) clamp(16px, 3vw, 24px);
  text-align: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.splash-content::-webkit-scrollbar {
  display: none;
}

.splash-heading {
  color: #ffffff;
  font-size: clamp(34px, 6.5vw, 50px);
  font-weight: 600;
  margin-bottom: clamp(20px, 5dvh, 52px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  max-width: 520px;
  padding: 0 12px;
}

/* ---------- START Button ---------- */
.splash-start-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(16px, 4dvh, 40px);
}

.splash-start-btn {
  width: clamp(190px, 25vw, 200px) !important;
  height: clamp(190px, 25vw, 200px) !important;
  border-radius: 50%;
  background: #d42b2b;
  color: #ffffff;
  font-size: clamp(28px, 4.3vw, 34px);
  font-weight: 800;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px #ffffff,
    0 0 0 14px #2d2d2d,
    0 8px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  text-transform: uppercase;
}

.splash-start-btn:hover {
  transform: scale(1.04) !important;
  filter: brightness(1.08) !important;
  box-shadow:
    0 0 0 10px #ffffff,
    0 0 0 14px #2d2d2d,
    0 12px 40px rgba(0, 0, 0, 0.6);
}

.splash-start-btn:active {
  transform: scale(0.97) !important;
}

/* ---------- Secondary action (View My Appointments / Login) ---------- */
.splash-secondary-btn {
  margin-top: clamp(22px, 6dvh, 64px);
  min-width: clamp(200px, 36vw, 240px);
  max-width: 92vw;
  padding: clamp(11px, 1.8vw, 13px) clamp(20px, 3.8vw, 28px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: clamp(13px, 1.9vw, 15px);
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-indent: 1.6px;
}

.splash-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.splash-secondary-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- Logout (shown below View My Appointments when logged in) ---------- */
.splash-logout-btn {
  margin-top: clamp(8px, 1.5dvh, 16px);
  padding: clamp(7px, 1.2vw, 8px) clamp(16px, 2.6vw, 18px);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(12px, 1.7vw, 13px);
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.splash-logout-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.splash-logout-btn:active {
  transform: scale(0.97);
}

/* ---------- Footer ---------- */
.splash-footer {
  display: flex;
  justify-content: flex-end;
}

.splash-footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 50% 5% 0 0%;
  padding: clamp(28px, 6vw, 45px) clamp(38px, 8vw, 60px) clamp(22px, 4.5vw, 35px)
    clamp(42px, 9vw, 65px);
  gap: clamp(5px, 1vw, 8px);
}

.splash-footer-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.splash-footer-logo {
  height: clamp(32px, 6vw, 50px);
  width: auto;
}

/* ============================================
   Steps Layout
   ============================================ */

.splash-step {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.splash-footer {
  flex-shrink: 0;
}

.step-nav {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ============================================
   Step 1: Vehicle Info
   ============================================ */

/* Step contents are scrollable as a safety net — if proportional tightening
   still isn't enough on unusual viewports, the user can scroll inside the
   step area without the step-nav being pushed off screen. */
.step-vehicle-content,
.step-date-content,
.step-time-content {
  justify-content: flex-start;
  padding: clamp(24px, 5vw, 40px) clamp(14px, 3vw, 20px) 0;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.step-vehicle-content::-webkit-scrollbar,
.step-date-content::-webkit-scrollbar,
.step-time-content::-webkit-scrollbar {
  display: none;
}

.step-title {
  color: #ffffff;
  font-size: clamp(28px, 5.5vw, 42px);
  font-weight: 600;
  text-align: center;
  margin-bottom: clamp(20px, 4.5vw, 44px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  padding: 0 12px;
}

/* ---------- Vehicle Form ---------- */
.vehicle-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  width: 100%;
  max-width: min(500px, 90vw);
}

.vehicle-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.vehicle-select-wrapper {
  width: 100%;
  position: relative;
}

.vehicle-input {
  width: 100%;
  height: clamp(58px, 10vw, 76px);
  padding: 0 clamp(44px, 7vw, 60px) 0 clamp(28px, 5vw, 42px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
  font-size: clamp(20px, 3.3vw, 26px);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}

.vehicle-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.vehicle-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vehicle-input:focus {
  cursor: text;
  border-color: #ffffff;
}

.vehicle-chevron {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 12px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M1 1l8 8 8-8' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.vehicle-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 10px;
  right: 10px;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  z-index: 10;
  padding: 6px 0;
}

.vehicle-dropdown-item {
  padding: 12px clamp(16px, 3vw, 24px);
  color: #ffffff;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 500;
  cursor: pointer;
}

.vehicle-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.vehicle-field-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 4px;
}

/* ---------- Vehicle Type Toggle ---------- */
.vehicle-type-toggle {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(20px, 4vw, 34px);
  width: 100%;
}

.vehicle-type-btn {
  flex: 1;
  padding: clamp(14px, 2.8vw, 24px) clamp(14px, 2.5vw, 20px);
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #ffffff;
  font-size: clamp(16px, 2.8vw, 24px);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vehicle-type-btn.active {
  background: #1a1a1a;
  color: #ffffff;
}

/* ---------- Commercial Booking Gate ---------- */
.commercial-gate {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(500px, 90vw);
  margin: clamp(20px, 4vw, 32px) auto 0;
  padding: clamp(20px, 4vw, 28px) clamp(18px, 3.5vw, 26px);
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.commercial-gate-icon {
  width: clamp(40px, 7vw, 52px);
  height: clamp(40px, 7vw, 52px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 43, 43, 0.18);
  color: #ffffff;
  margin-bottom: clamp(10px, 2vw, 14px);
}

.commercial-gate-icon svg {
  width: 60%;
  height: 60%;
}

.commercial-gate-title {
  color: #ffffff;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.commercial-gate-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.9vw, 15px);
  font-weight: 500;
  margin: 0 0 clamp(14px, 2.5vw, 18px);
  line-height: 1.4;
}

.commercial-gate-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: clamp(200px, 36vw, 240px);
  max-width: 100%;
  padding: clamp(12px, 2vw, 14px) clamp(22px, 4vw, 30px);
  border-radius: 999px;
  background: #d42b2b;
  color: #ffffff;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(212, 43, 43, 0.35);
}

.commercial-gate-call-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #ffffff;
}

.commercial-gate-call-btn:active {
  transform: translateY(0) scale(0.98);
}

.commercial-gate-call-icon {
  width: clamp(16px, 2.4vw, 20px);
  height: clamp(16px, 2.4vw, 20px);
  flex-shrink: 0;
}

.step-nav-link.is-disabled {
  opacity: 0.32;
  pointer-events: none;
  cursor: not-allowed;
}

/* ---------- Step Navigation ---------- */
.step-nav {
  padding: clamp(10px, 2dvh, 22px) clamp(14px, 3vw, 22px) clamp(18px, 4dvh, 44px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-nav-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3.2vw, 28px);
  padding: 0 4px;
}

.step-nav-dots {
  display: flex;
  gap: clamp(14px, 2.6vw, 22px);
  align-items: center;
  margin: 0 clamp(6px, 1.8vw, 14px);
}

.step-dot {
  width: clamp(13px, 2.1vw, 18px);
  height: clamp(13px, 2.1vw, 18px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.step-dot.active {
  background: #ffffff;
}

.step-nav-link {
  background: none;
  border: none;
  color: #ffffff;
  font-size: clamp(16px, 2.75vw, 22px);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  padding: 0;
}

.step-nav-icon {
  width: clamp(16px, 2.5vw, 20px);
  height: clamp(16px, 2.5vw, 20px);
  flex-shrink: 0;
}

/* ============================================
   Step 2: Date Selection
   ============================================ */

.date-loading {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

/* ---------- Date Cards ---------- */
.date-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3vw, 26px);
  width: 100%;
  max-width: min(500px, 90vw);
}

.date-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(12px, 2.6vw, 22px) clamp(18px, 3.4vw, 26px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.date-card.selected {
  background: #000000;
  border-color: #000000;
}

.date-empty {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 2.3vw, 18px);
  font-weight: 500;
  text-align: center;
  padding: clamp(40px, 8vw, 60px) 20px;
  max-width: min(500px, 90vw);
  width: 100%;
}

.date-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.date-card-label {
  font-size: clamp(13px, 1.9vw, 15px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
}

.date-card.selected .date-card-label {
  color: rgba(255, 255, 255, 0.7);
}

.date-card-date {
  font-size: clamp(20px, 3.3vw, 26px);
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.date-card-check {
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.date-card.selected .date-card-check {
  opacity: 1;
}

/* ---------- Request Another Date ---------- */
.date-request-label {
  font-size: clamp(13px, 1.9vw, 15px);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.date-request-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: min(500px, 90vw);
  margin-top: clamp(20px, 4vw, 36px);
  gap: clamp(6px, 1.4vw, 10px);
}

.date-request-btn {
  width: 100%;
  padding: clamp(16px, 3vw, 26px) clamp(18px, 3.4vw, 26px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  text-align: left;
}

.date-request-btn-value {
  font-size: clamp(20px, 3.3vw, 26px);
  font-weight: 700;
  color: #ffffff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-request-btn svg {
  flex-shrink: 0;
  width: clamp(22px, 3vw, 28px);
  height: clamp(22px, 3vw, 28px);
}

.date-request-btn:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

.date-request-btn.has-value {
  background: #000000;
  border-color: #000000;
}

.date-request-btn.has-value:hover {
  background: #000000 !important;
  border-color: #000000 !important;
}

/* ---------- Specific Time Picker Modal ---------- */
.time-picker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.time-picker {
  background: #1e1e1e;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 24px) clamp(16px, 2.8vw, 22px);
  width: 100%;
  max-width: min(440px, 92vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.time-picker-header {
  color: #ffffff;
  text-align: center;
  margin-bottom: clamp(12px, 2vw, 16px);
}

.time-picker-title {
  color: #ffffff;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 700;
}

.time-picker-loading {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.time-picker-empty {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(14px, 2vw, 16px);
  text-align: center;
  padding: clamp(28px, 5vw, 40px) 10px;
}

.time-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.4vw, 10px);
  overflow-y: auto;
  max-height: 55vh;
  padding: 4px;
}

.time-picker-chip {
  padding: clamp(10px, 1.8vw, 12px) clamp(6px, 1.2vw, 8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.time-picker-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.time-picker-chip.selected {
  background: #d42b2b;
  border-color: #d42b2b;
  color: #ffffff;
}

/* ============================================
   Step 3: Time Preference
   ============================================ */

.time-selected-date {
  color: #ffffff;
  font-size: clamp(17px, 2.75vw, 22px);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 26px);
  padding: 0 12px;
  word-break: break-word;
}

.time-options {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3vw, 26px);
  width: 100%;
  max-width: min(500px, 90vw);
}

.time-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 3.4vw, 28px) clamp(20px, 3.4vw, 26px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-option.selected {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
}

.time-option.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.time-option-text {
  font-size: clamp(22px, 3.8vw, 30px);
  font-weight: 700;
  color: #ffffff;
}

.time-option-check {
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.time-option.selected .time-option-check {
  opacity: 1;
}

/* ---------- Calendar Modal ---------- */
.date-calendar-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.date-calendar {
  background: #1e1e1e;
  border-radius: 20px;
  padding: clamp(20px, 3.4vw, 28px) clamp(18px, 3vw, 24px);
  width: 100%;
  max-width: min(380px, 92vw);
}

.date-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(14px, 2.5vw, 20px);
}

.date-calendar-title {
  color: #ffffff;
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;
}

.date-calendar-nav {
  background: none;
  border: none;
  color: #ffffff;
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 700;
  cursor: pointer;
  padding: 0 12px;
  line-height: 1;
}

.date-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.date-calendar-weekdays span {
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(11px, 1.7vw, 13px);
  font-weight: 600;
  padding: 6px 0;
}

.date-calendar-grid-wrap {
  position: relative;
}

.date-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-calendar-spinner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 10px;
}

.date-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
  cursor: default;
}

.date-calendar-day.available {
  color: #ffffff;
  cursor: pointer;
}

.date-calendar-day.available:hover {
  background: rgba(255, 255, 255, 0.2);
}

.date-calendar-day.cal-selected {
  background: #d42b2b;
  color: #ffffff;
}

.date-calendar-day.today {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.date-calendar-close {
  display: block;
  width: 100%;
  margin-top: clamp(14px, 2.5vw, 20px);
  padding: 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.9vw, 14px);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
}

.date-calendar-close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   Step 4: Confirmation
   ============================================ */

.step-confirm-content {
  justify-content: safe center;
  align-items: center;
  padding: clamp(18px, 3.6vw, 30px) clamp(14px, 3vw, 20px);
  text-align: center;
}

.confirm-submit-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2.2vw, 18px);
  padding: clamp(40px, 8vw, 60px) 0;
}

.confirm-loading-text {
  color: #ffffff;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 600;
  letter-spacing: 1px;
}

.confirm-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(540px, 92vw);
}

.confirm-checkmark-wrap {
  position: relative;
  display: inline-block;
  margin: 10px 0 clamp(18px, 3.4vw, 28px);
}

.confirm-checkmark svg {
  width: clamp(150px, 24vw, 200px);
  height: clamp(150px, 24vw, 200px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.confirm-title {
  color: #ffffff;
  font-size: clamp(22px, 3.7vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0 0 clamp(18px, 3.4vw, 28px);
}

.confirm-details {
  width: 100%;
  max-width: min(460px, 92vw);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vw, 10px);
  padding: clamp(14px, 2.4vw, 18px) clamp(16px, 2.8vw, 22px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.confirm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: clamp(10px, 2vw, 16px);
  color: #ffffff;
}

.confirm-detail-label {
  font-size: clamp(11px, 1.6vw, 12px);
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  flex-shrink: 0;
}

.confirm-detail-value {
  font-size: clamp(14px, 2.1vw, 16px);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(460px, 92vw);
  margin-top: clamp(18px, 3.5dvh, 36px);
  gap: clamp(4px, 0.8dvh, 10px);
}

.confirm-primary-btn {
  margin-top: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.confirm-restart-btn {
  margin-top: 0;
}

.confirm-footer {
  justify-content: flex-end;
  z-index: 1;
  position: relative;
}

/* ============================================
   Dark Theme — Existing Date/Time Picker Overrides
   ============================================ */

.dark-theme {
  background: transparent !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.dark-theme .booking-dark-header {
  margin: 0 calc(-1 * var(--bs-gutter-x, 12px));
}

.dark-theme .main-content-form {
  margin: 0 !important;
  padding: 20px;
}

.dark-theme .logo-container,
.dark-theme #appointment-icon-ui,
.dark-theme #confirmed-icon-ui {
  display: none !important;
}

.dark-theme #form-title {
  color: #ffffff !important;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dark-theme .booking-container {
  background: transparent !important;
  padding: 0.5rem !important;
}

/* Staff dropdown */
.dark-theme .custom-select-booky {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
}

.dark-theme .selected-option {
  color: #ffffff !important;
}

.dark-theme .selected-option span {
  color: #ffffff !important;
}

.dark-theme .options-list {
  background: rgba(20, 20, 20, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
}

.dark-theme .options-list li {
  color: #ffffff !important;
}

.dark-theme .options-list li:hover,
.dark-theme .options-list li.selected {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Month/year and navigation */
.dark-theme #month-year,
.dark-theme .month-year {
  color: #ffffff !important;
}

.dark-theme .direction-icon {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px !important;
}

.dark-theme .direction-icon:disabled {
  color: rgba(255, 255, 255, 0.3) !important;
  opacity: 0.5;
}

.dark-theme .calendar-icon img {
  filter: brightness(0) invert(1);
}

/* Days list */
.dark-theme .days-list li {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
}

.dark-theme .days-list li.available:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.dark-theme .days-list li.selected {
  background: #d42b2b !important;
  border-color: #d42b2b !important;
  color: #ffffff !important;
}

.dark-theme .days-list li.disabled {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Times list */
.dark-theme .times-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .times-list li a {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
}

.dark-theme .times-list li a:hover {
  color: #d42b2b !important;
}

/* Loading spinner text */
.dark-theme .loading-spinner {
  color: #ffffff !important;
}

/* Date picker modal */
.dark-theme .date-picker-modal,
.dark-theme #date-picker-modal {
  background: #1e1e1e !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.dark-theme .date-picker-modal .modal-content {
  background: #1e1e1e !important;
  border: none !important;
}

.dark-theme .days-grid .day {
  color: rgba(255, 255, 255, 0.3);
}

.dark-theme .days-grid .day.available,
.dark-theme .days-grid .day:not(.disabled):not(.empty-day) {
  color: #ffffff;
}

.dark-theme .days-grid .day.selected {
  background: #d42b2b !important;
  color: #ffffff !important;
}

.dark-theme .days-grid .day.current-day {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.dark-theme #year-select,
.dark-theme #month-select {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
}

.dark-theme #today-modal-btn,
.dark-theme #close-modal {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Fully booked message */
.dark-theme .next-available-btn {
  background: #d42b2b !important;
  border: none !important;
  color: #ffffff !important;
}

/* Back button override for dark theme */
.dark-theme .back-btn-services {
  visibility: visible !important;
  filter: brightness(0) invert(1);
}

/* ---------- Hidden state ---------- */
.new-landing-hidden {
  display: none !important;
}

/* ---------- Mobile - user approved values ---------- */
@media screen and (max-width: 480px) {
  .splash-header {
    padding: 0 12px 0 15px;
    height: 10vh;
    height: 10dvh;
    min-height: 60px;
  }

  .splash-header .splash-header-logo {
    max-height: 5.5vh !important;
    max-height: 5.5dvh !important;
  }

  .splash-header-title {
    font-size: 5vw;
  }

  .splash-heading {
    font-size: 9vw;
    margin-bottom: 32px;
    max-width: 300px;
  }

  .splash-start-btn {
    width: 40vw !important;
    height: 40vw !important;
    min-width: 150px;
    min-height: 150px;
    font-size: 28px;
    box-shadow:
      0 0 0 8px #ffffff,
      0 0 0 12px #2d2d2d,
      0 6px 24px rgba(0, 0, 0, 0.5);
  }

  .splash-footer-badge {
    padding: 28px 38px 22px 42px;
    gap: 5px;
  }

  .splash-footer-text {
    font-size: 12px;
  }

  .splash-footer-logo {
    height: 32px;
  }

  .step-vehicle-content,
  .step-date-content,
  .step-time-content {
    padding: 24px 20px 0;
  }

  .step-confirm-content {
    padding: 18px 16px;
  }

  .confirm-checkmark svg {
    width: 150px;
    height: 150px;
  }

  .confirm-click-anywhere {
    font-size: 11px;
    padding: 4px 10px;
    right: -22px;
  }

  .confirm-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .confirm-details {
    max-width: 90vw;
    padding: 14px 16px;
    gap: 8px;
  }

  .confirm-detail-label {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .confirm-detail-value {
    font-size: 14px;
  }

  .step-title {
    font-size: 8vw;
    margin-bottom: 20px;
  }

  .vehicle-form {
    max-width: 90vw;
    gap: 16px;
  }

  .vehicle-input {
    height: 58px;
    font-size: 20px;
    padding: 0 44px 0 32px;
  }

  .vehicle-field-label {
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 4px;
  }

  .vehicle-type-toggle {
    gap: 18px;
    margin-top: 22px;
  }

  .vehicle-type-btn {
    padding: 14px 14px;
    font-size: 16px;
  }

  .step-nav-link {
    font-size: 16px;
    gap: 4px;
  }

  .step-nav-icon {
    width: 16px;
    height: 16px;
  }

  .step-nav-bottom {
    gap: 14px;
  }

  .step-nav-dots {
    gap: 18px;
    margin: 0 8px;
  }

  .step-dot {
    width: 15px;
    height: 15px;
  }

  .date-cards {
    max-width: 90vw;
    gap: 16px;
  }

  .date-card {
    padding: 12px 18px;
  }

  .date-card-date {
    font-size: 20px;
  }

  .date-card-label {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .date-request-section {
    max-width: 90vw;
    margin-top: 24px;
    gap: 8px;
  }

  .date-request-label {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .date-request-btn {
    padding: 16px 18px;
  }

  .date-request-btn-value {
    font-size: 20px;
  }

  .time-options {
    max-width: 90vw;
    gap: 16px;
  }

  .time-option {
    padding: 18px 20px;
  }

  .time-option-text {
    font-size: 24px;
  }

  .time-selected-date {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .step-nav {
    padding: 14px 14px 22px;
  }
}

/* ---------- Short-height phones (iPhone SE and similar) ----------
   Tightens vertical gaps/paddings when vertical space is constrained.
   Font sizes already scale via clamp; only the space-consuming rules
   need to shrink further here. */
@media screen and (max-height: 740px) {
  .splash-header {
    height: clamp(56px, 10vh, 86px);
    height: clamp(56px, 10dvh, 86px);
  }

  .splash-header .splash-header-logo {
    max-height: 56px !important;
  }

  .splash-heading {
    font-size: clamp(26px, 5vw, 36px);
    margin-bottom: clamp(14px, 3dvh, 28px);
  }

  .splash-start-btn {
    width: clamp(140px, 22dvh, 180px) !important;
    height: clamp(140px, 22dvh, 180px) !important;
    font-size: clamp(24px, 4vw, 30px);
    box-shadow:
      0 0 0 8px #ffffff,
      0 0 0 12px #2d2d2d,
      0 6px 24px rgba(0, 0, 0, 0.5);
  }

  .splash-start-btn-wrapper {
    margin-top: clamp(12px, 2.5dvh, 26px);
  }

  .splash-secondary-btn {
    margin-top: clamp(16px, 3dvh, 32px);
    padding: 10px 22px;
    font-size: 13px;
    min-width: 200px;
  }

  .splash-logout-btn {
    margin-top: clamp(6px, 1dvh, 12px);
    padding: 6px 16px;
    font-size: 12px;
  }

  .splash-footer-badge {
    padding: clamp(22px, 3.5dvh, 34px) clamp(34px, 6vw, 48px) clamp(16px, 2.8dvh, 26px)
      clamp(38px, 7vw, 52px);
    gap: 4px;
  }

  .splash-footer-text {
    font-size: 12px;
  }

  .splash-footer-logo {
    height: clamp(28px, 5dvh, 40px);
  }

  .step-vehicle-content,
  .step-date-content,
  .step-time-content {
    padding-top: 14px;
  }

  .step-title {
    font-size: clamp(24px, 4.5vw, 34px);
    margin-bottom: 12px;
  }

  .vehicle-form {
    gap: 10px;
  }

  .vehicle-input {
    height: 52px;
    font-size: clamp(18px, 3vw, 22px);
  }

  .vehicle-type-toggle {
    margin-top: 12px;
  }

  .vehicle-type-btn {
    padding: 12px 14px;
    font-size: clamp(15px, 2.4vw, 19px);
  }

  .date-cards {
    gap: 10px;
  }

  .date-card {
    padding: 10px 16px;
  }

  .date-card-date {
    font-size: clamp(18px, 2.8vw, 22px);
  }

  .date-request-section {
    margin-top: 14px;
    gap: 6px;
  }

  .date-request-btn {
    padding: 12px 16px;
  }

  .date-request-btn-value {
    font-size: clamp(18px, 2.8vw, 22px);
  }

  .time-options {
    gap: 10px;
  }

  .time-option {
    padding: 14px 18px;
  }

  .time-option-text {
    font-size: clamp(20px, 3.2vw, 26px);
  }

  .time-selected-date {
    font-size: clamp(15px, 2.3vw, 19px);
    margin-bottom: 10px;
  }

  .step-nav {
    padding: 8px 12px 16px;
    gap: 4px;
  }

  .step-nav-link {
    font-size: clamp(15px, 2.3vw, 19px);
  }

  .step-nav-icon {
    width: 16px;
    height: 16px;
  }

  .step-dot {
    width: 13px;
    height: 13px;
  }

  .confirm-checkmark svg {
    width: clamp(120px, 18dvh, 160px);
    height: clamp(120px, 18dvh, 160px);
  }

  .confirm-title {
    font-size: clamp(20px, 3.2vw, 26px);
    margin: 0 0 clamp(12px, 2.5dvh, 20px);
  }

  .confirm-checkmark-wrap {
    margin: 6px 0 clamp(12px, 2.5dvh, 20px);
  }

  .confirm-details {
    padding: clamp(12px, 2vh, 16px) clamp(14px, 2.6vw, 20px);
  }
}

/* ---------- Very short / landscape mobile ----------
   Extra-aggressive tightening for true landscape phones (≤500px tall). */
@media screen and (max-height: 500px) {
  .splash-header {
    height: 52px;
  }

  .splash-header .splash-header-logo {
    max-height: 40px !important;
  }

  .splash-header-title {
    font-size: 18px;
  }

  .splash-heading {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .splash-start-btn {
    width: 120px !important;
    height: 120px !important;
    font-size: 20px;
    box-shadow:
      0 0 0 6px #ffffff,
      0 0 0 10px #2d2d2d,
      0 4px 16px rgba(0, 0, 0, 0.5);
  }

  .splash-start-btn-wrapper {
    margin-top: 8px;
  }

  .splash-secondary-btn {
    margin-top: 14px;
    padding: 8px 18px;
    font-size: 12px;
    min-width: 180px;
  }

  .splash-logout-btn {
    margin-top: 4px;
    padding: 4px 14px;
    font-size: 11px;
  }

  .splash-footer-badge {
    padding: 16px 28px 12px 32px;
  }

  .splash-footer-text {
    font-size: 10px;
  }

  .splash-footer-logo {
    height: 24px;
  }

  .step-vehicle-content,
  .step-date-content,
  .step-time-content,
  .step-confirm-content {
    padding-top: 10px;
  }

  .step-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .step-nav {
    padding: 6px 12px 10px;
  }

  .confirm-checkmark svg {
    width: 90px;
    height: 90px;
  }

  .confirm-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
}
