:root {
  /* iOS 18 Liquid Glass Color System */
  --primary-color: rgb(3, 165, 117);
  --primary-hover: rgb(0, 145, 97);
  --primary-light: rgba(22, 190, 140, 0.3);
  --primary-glow: rgba(3, 165, 117, 0.4);

  --text-main: #1d1d1f;
  --text-secondary: #86868b;
  --text-light: #b8b8bd;

  /* Glassmorphism Backgrounds */
  --bg-gradient-start: #f5f5f7;
  --bg-gradient-end: #e8e8ea;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Card & Surface Colors */
  --card-bg: rgba(255, 255, 255, 0.25);
  --card-hover: rgba(255, 255, 255, 0.35);
  --input-bg: rgba(255, 255, 255, 0.5);
  --input-border: rgba(0, 0, 0, 0.08);

  /* Status Colors with Glass Effect */
  --success-bg: rgba(52, 199, 89, 0.15);
  --success-text: #30a14e;
  --success-border: rgba(52, 199, 89, 0.3);

  --error-bg: rgba(255, 59, 48, 0.15);
  --error-text: #d32f2f;
  --error-border: rgba(255, 59, 48, 0.3);

  --unavailable-bg: rgba(142, 142, 147, 0.12);
  --unavailable-text: #b8b8bd;

  /* iOS Button Styles */
  --btn-bg: rgba(0, 0, 0, 0.85);
  --btn-text: #ffffff;
  --btn-hover: rgba(0, 0, 0, 0.95);

  /* Enhanced Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.5);

  /* Border Radius - iOS Style */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", system-ui, sans-serif;

  /* Blur Effects */
  --blur-sm: 10px;
  --blur-md: 20px;
  --blur-lg: 40px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background: var(
    --background-image,
    url("https://scontent.flpq1-1.fna.fbcdn.net/v/t39.30808-6/500768097_1296536682476556_9072920228237959462_n.jpg?_nc_cat=101&ccb=1-7&_nc_sid=cc71e4&_nc_eui2=AeFRP1bQCE27U9eMf3G3XUhm2funGPVqTKnZ-6cY9WpMqdi1n-_05rkZLaPy15r4wASbJ64veQxzbkipyTrcx1o6&_nc_ohc=e1_hc6Cwh4UQ7kNvwH69RMn&_nc_oc=Adm7r7TuqrNenPCtMXegkvCNOpzrbhcK9BW663_56X04uAAM2-u3ekCQZuiwioybF48&_nc_zt=23&_nc_ht=scontent.flpq1-1.fna&_nc_gid=5EHS0HKiQxOThv7BhSUAVw&oh=00_AfnsJWdWw2Z6IE5Lgcr9iS6-_CIWIQNZ07BwRwOOBFLb3g&oe=69592F93")
  );
  background-size: cover;
  background-position: center;
  /* background-repeat: no-repeat; */
  color: var(--text-main);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Animated background particles effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatBg {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

#app {
  width: 100%;
  max-width: 660px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-lg)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(180%);
  border: 1px solid var(--glass-border);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-glass), var(--shadow-inner);
  z-index: 1;
}

@media (min-width: 520px) {
  #app {
    min-height: 640px;
    max-height: 90vh;
    height: auto;
    border-radius: var(--radius-xl);
    margin: 20px;
    overflow: hidden;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Full screen transparent background for confirmation page */
#app.step-5 {
  max-width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  height: 100vh;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

/* remove the .app-header background on step 5 */
#app.step-5 .app-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header - Glass Effect */
.app-header {
  padding: 24px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.app-header img {
  max-height: 82px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-header img:hover {
  transform: scale(1.05);
}

.app-header h3 {
  margin: 0 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Container - Glass Card */
.step-container {
  padding: 24px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  position: relative;
}

/* Transparent container on confirmation page */
#app.step-5 .step-container {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

h2 {
  font-weight: 600 !important;
  font-size: 22px !important;
  margin: 0 0 28px 0 !important;
  text-align: center !important;
  color: var(--text-main) !important;
  letter-spacing: -0.4px !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Buttons - iOS Liquid Glass Style */
.btn {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  color: var(--btn-text);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 500;
  width: 100%;
  max-width: 320px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: -0.3px;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:disabled {
  background: rgba(142, 142, 147, 0.3);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-link {
  background: none;
  color: #007aff;
  text-decoration: none;
  font-size: 13px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-link:hover {
  background: rgba(0, 122, 255, 0.1);
  color: #0051d5;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Covers Selection - Liquid Glass Pills */
.covers-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.cover-btn {
  width: 62px;
  height: 62px;
  border-radius: 31px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
}

.cover-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  padding: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.cover-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.cover-btn:hover::before {
  opacity: 1;
}

.cover-btn.selected {
  background: var(--primary-color);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgb(55 55 55 / 40%),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.cover-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Date Selection - Glassmorphic Calendar */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(var(--blur-sm));
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-header span {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.calendar-header .btn-link {
  margin: 0;
  font-size: 24px;
  padding: 8px 16px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-header .btn-link:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 16px;
  /* background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(var(--blur-md)); */
  border-radius: var(--radius-lg);
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2); */
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.calendar-day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(var(--blur-sm));
}

.calendar-day::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.calendar-day.available {
  background: rgba(52, 199, 89, 0.2);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  color: var(--success-text);
  border: 1.5px solid rgba(52, 199, 89, 0.3);
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.15);
}

.calendar-day.available:hover {
  background: rgba(52, 199, 89, 0.35);
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

.calendar-day.available:hover::before {
  opacity: 1;
}

.calendar-day.unavailable {
  background: rgba(142, 142, 147, 0.15);
  color: var(--unavailable-text);
  cursor: not-allowed;
  border: 1px solid rgba(142, 142, 147, 0.2);
}

.calendar-day.past {
  color: var(--unavailable-text);
  cursor: default;
  opacity: 0.5;
}

.calendar-day.selected {
  background: var(--primary-color);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  color: white;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Calendar Legend */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(var(--blur-sm));
  border-radius: var(--radius-md);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-main);
  font-weight: 500;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-color.available {
  background: rgba(52, 199, 89, 0.2);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  border-color: rgba(52, 199, 89, 0.3);
}

.legend-color.unavailable {
  background: rgba(142, 142, 147, 0.15);
  border-color: rgba(142, 142, 147, 0.2);
}

/* Stepper - iOS Glass Style */
.stepper-wrapper {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  position: relative;
}

.stepper-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.stepper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0 5px;
  min-width: 60px;
}

.step-item.disabled {
  cursor: default;
}

.step-circle {
  width: 38px;
  height: 38px;
  /* background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(var(--blur-sm)); */
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5); */
}

.step-item.active .step-circle {
  color: #000000;
  transform: scale(1.1);
}

.step-item.completed .step-circle {
  color: #000000;
}

.step-label {
  font-size: 11px;
  color: #b0b0b0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #000000;
  font-weight: 700;
}

.step-item.completed .step-label {
  color: #000000;
}

.step-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Time Selection - Glassmorphic Cards */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.time-slot {
  padding: 8px 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.time-slot.available {
  background: rgba(52, 199, 89, 0.2);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  color: var(--success-text);
  border: 1.5px solid rgba(52, 199, 89, 0.3);
}

.time-slot.available:hover {
  background: rgba(52, 199, 89, 0.35);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.25);
}

.time-slot.selected {
  background: var(--primary-color);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.time-slot.unavailable {
  background: rgba(142, 142, 147, 0.15);
  color: var(--unavailable-text);
  cursor: not-allowed;
  border: 1px solid rgba(142, 142, 147, 0.2);
}

.time-slot.unavailable:hover {
  background: rgba(142, 142, 147, 0.15);
  transform: none;
}

/* Guest Info Form - Glass Cards */
.summary-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  width: 100%;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-around;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-align: center;
}

.summary-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.summary-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: rgba(142, 142, 147, 0.2);
}

.summary-item label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.summary-item span {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.form-group {
  width: 100%;
  margin-bottom: 15px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.2px;
  text-align: left;
}

/* Fix for intl-tel-input width */
.iti {
  width: 100%;
}

.form-control {
  width: 100%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.form-control:focus {
  border-color: rgba(0, 122, 255, 0.6);
  outline: none !important;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.option-checkbox {
  display: none;
}

.option-label {
  padding: 12px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(180%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.option-label:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option-checkbox:checked + .option-label {
  background: var(--primary-color);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
}

/* Confirmation - Glass Success */
.confirmation-container {
  text-align: center;
  width: 100%;
  padding: 0 16px;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon {
  width: 88px;
  height: 88px;
  background: rgba(52, 199, 89, 0.25);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border: 2px solid rgba(52, 199, 89, 0.4);
  color: var(--success-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 32px auto;
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.reference-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.reference-code {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--primary-color);
  font-family: "SF Mono", "Monaco", "Courier New", monospace;
  margin-top: 12px;
}

.upsell-section {
  margin-top: 40px;
  text-align: left;
  width: 100%;
}

.upsell-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--blur-md)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.upsell-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.5);
}

.upsell-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.upsell-details {
  flex: 1;
}

.upsell-details b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-main);
  font-weight: 600;
}

.upsell-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 17px;
}

/* Loading - Glass Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--blur-lg)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(180%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  border-radius: var(--radius-xl);
  animation: fadeIn 0.2s ease-out;
  overflow: hidden;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 122, 255, 0.15);
  border-top: 4px solid rgba(0, 122, 255, 0.8);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .step-container {
    padding: 20px 15px;
  }

  .covers-grid {
    gap: 16px;
  }

  .cover-btn {
    width: 60px;
    height: 60px;
    font-size: 16pt;
  }

  .calendar-day {
    font-size: 11pt;
  }

  .summary-card {
    flex-direction: column;
    gap: 10px;
  }

  .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
  }

  .summary-item label {
    margin: 0;
  }
}

/* Store Product Card Styles */
.product-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-img-wrapper {
  position: relative;
  padding-top: 66.66%;
  /* 3:2 Aspect Ratio */
  overflow: hidden;
  background-color: #f0f2f5;
  flex-shrink: 0;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #344767;
}

.product-desc {
  color: #3e4554;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-section {
  margin-bottom: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-indication {
  font-size: 0.85rem;
  color: #8392ab;
  margin-left: 0.5rem;
}

.validity-badge {
  display: inline-block;
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  font-size: 0.8rem;
  margin-bottom: 0;
  margin-right: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.btn-qty {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #344767;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-qty:hover {
  background: #f8f9fa;
  border-color: #c7cdd4;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #344767;
  background: transparent;
}

.qty-input:focus {
  outline: none;
}

.btn-add-cart {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  width: 100%;
  transition: opacity 0.2s;
}

.btn-add-cart:hover {
  opacity: 0.9;
  color: white;
}

.btn-add-cart:disabled {
  background: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 1;
}

/* Grid for upsells */
.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Wide Layout for Confirmation */
#app.wide-layout {
  max-width: 1200px;
}

.confirmation-details {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Upsell Grid - Mimicking Bootstrap Grid */
.upsell-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  justify-content: center;
}

.upsell-col {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .upsell-col {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (min-width: 992px) {
  .upsell-col {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
  }
}

/* Ensure Product Card uses Inter font */
.product-card {
  font-family: "Inter", sans-serif;
}

/* iOS Liquid Glass - Additional Enhancements */

/* Smooth transitions for header */
.app-header {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Focus states for accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.cover-btn:focus-visible,
.time-slot:focus-visible {
  outline: none !important;
}

/* Text selection styling */
::selection {
  background: rgba(0, 122, 255, 0.3);
  color: var(--text-main);
}

::-moz-selection {
  background: rgba(0, 122, 255, 0.3);
  color: var(--text-main);
}

/* Smooth scrolling */
#app {
  scroll-behavior: smooth;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

/* Custom scrollbar for webkit browsers */
#app::-webkit-scrollbar {
  width: 8px;
}

#app::-webkit-scrollbar-track {
  background: rgba(142, 142, 147, 0.1);
  border-radius: 10px;
}

#app::-webkit-scrollbar-thumb {
  background: rgba(0, 122, 255, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

#app::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 122, 255, 0.5);
}

/* Glassmorphic tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 1000;
  animation: tooltipFadeIn 0.2s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
  }
}

/* Skeleton loading states */
.skeleton {
  background: rgba(255, 255, 255, 0.3);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Error states */
.error-message {
  background: rgba(255, 59, 48, 0.15);
  backdrop-filter: blur(var(--blur-sm));
  border: 1.5px solid rgba(255, 59, 48, 0.3);
  color: var(--error-text);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 8px;
  font-size: 14px;
  animation: shakeError 0.5s ease;
}

@keyframes shakeError {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-4px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(4px);
  }
}

/* Success states */
.success-message {
  background: rgba(52, 199, 89, 0.15);
  backdrop-filter: blur(var(--blur-sm));
  border: 1.5px solid rgba(52, 199, 89, 0.3);
  color: var(--success-text);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 8px;
  font-size: 14px;
  animation: slideInSuccess 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInSuccess {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating particles for ambiance (optional) */
.particle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: float 3s infinite ease-in-out;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body::before {
    animation: none;
  }
}

/* Enhanced Confirmation Page Styles */
.confirmation-main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.confirmation-hero {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 60px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-large {
  width: 96px;
  height: 96px;
  background: linear-gradient(
    135deg,
    rgba(52, 199, 89, 0.15),
    rgba(48, 209, 88, 0.25)
  );
  backdrop-filter: blur(10px);
  border: 3px solid rgba(52, 199, 89, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #30a14e;
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
  animation: successPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.success-icon-large svg {
  width: 48px;
  height: 48px;
  stroke-width: 3;
}

@keyframes successPop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

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

.confirmation-card {
  padding: 32px 28px;
  margin: 32px 0;
  text-align: left;
}

.confirmation-header {
  text-align: center;
  padding-bottom: 24px;
}

.reference-code-large {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--primary-color);
  font-family: "SF Mono", "Monaco", "Courier New", monospace;
  margin-top: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.confirmation-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 24px 0;
}

.confirmation-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(0, 122, 255, 0.1),
    rgba(88, 86, 214, 0.15)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-content {
  flex: 1;
  min-width: 0;
}

.detail-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.confirmation-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius-md);
  margin-top: 24px;
  color: #0066cc;
  font-size: 14px;
  line-height: 1.5;
}

.confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

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

.action-btn-secondary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.action-btn-secondary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.action-btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-main);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
}

.action-btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.upsell-section-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px 40px;
}

.upsell-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto 48px;
  max-width: 1200px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
}

.divider-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  text-align: center;
}

.upsell-header-text {
  text-align: center;
  margin: -16px auto 48px;
  max-width: 800px;
  color: #434343;
  font-size: 14px;
  line-height: 1.4;
}

.upsell-grid {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .confirmation-hero {
    padding: 36px 20px;
    margin-bottom: 40px;
  }

  .success-icon-large {
    width: 80px;
    height: 80px;
  }

  .success-icon-large svg {
    width: 40px;
    height: 40px;
  }

  .reference-code-large {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .confirmation-card {
    padding: 24px 20px;
  }

  .confirmation-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-item {
    padding: 14px;
  }

  .confirmation-actions {
    max-width: 100%;
  }

  .divider-text {
    font-size: 22px;
  }

  .upsell-section-container {
    margin: 0;
    padding: 60px 20px;
  }

  .upsell-header-text {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .upsell-divider,
  .upsell-grid {
    max-width: 100%;
  }
}
