/* Custom Styles - Compatible with Tailwind */
/* Physical Therapy Clinic - Mishkah Variables + Tailwind */

:root {
  /* Mishkah Design Tokens */
  --primary: #0891b2;
  --primary-foreground: #ffffff;
  --secondary: #64748b;
  --secondary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0891b2;
  --accent: #f1f5f9;
  --accent-foreground: #0f172a;
  --muted-foreground: #64748b;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --surface-1: #f8fafc;
  --surface-2: #f1f5f9;
  --radius: 0.5rem;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
  --primary: #06b6d4;
  --primary-foreground: #0f172a;
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --border: #334155;
  --input: #334155;
  --accent: #1e293b;
  --accent-foreground: #f8fafc;
  --surface-1: #1e293b;
  --surface-2: #334155;
  --muted-foreground: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================== Sections ================== */
.about-section,
.testimonials-section,
.contact-section {
  padding: 5rem 1rem;
  background: var(--surface-1);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* ================== About Section ================== */
.about-content {
  max-width: 64rem;
  margin: 0 auto;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--foreground);
  margin-bottom: 3rem;
  text-align: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* ================== Testimonials ================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-rating {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ================== Contact Section ================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 3rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--primary);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ================== Modal / Booking Form ================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  overflow-y: auto;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-modal {
  padding: 2rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1rem;
}

.modal-close-btn:hover {
  background: var(--destructive);
  color: var(--destructive-foreground);
  border-color: var(--destructive);
  transform: scale(1.1);
}

.modal-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
  text-align: center;
  padding-right: 3rem;
}

[dir="rtl"] .modal-title {
  padding-right: 0;
  padding-left: 3rem;
}

/* ================== Form Styles ================== */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  ring: 2px;
  ring-color: var(--ring);
  ring-offset: 2px;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-actions .btn {
  min-width: 140px;
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ================== Buttons ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-height: 2.75rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

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

/* ================== Language Switcher (UI.Switcher compatibility) ================== */
.ui-switcher {
  display: inline-flex;
  background: var(--surface-1);
  border-radius: var(--radius);
  padding: 0.25rem;
  gap: 0.25rem;
  border: 1px solid var(--border);
}

.ui-switcher button,
.ui-switcher .switcher-option {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: all 0.2s;
}

.ui-switcher button:hover,
.ui-switcher .switcher-option:hover {
  background: var(--accent);
  color: var(--foreground);
}

.ui-switcher button.active,
.ui-switcher .switcher-option.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* ================== Footer ================== */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .modal-content {
    margin: 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ================== Smooth Scrolling ================== */
html {
  scroll-behavior: smooth;
}

/* ================== Accessibility ================== */
*:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ================== Hero Slider ================== */
.hero-slider-container {
  position: relative;
  overflow: hidden;
}

.hero-slider-container > div {
  transition: background-image 0.5s ease-in-out;
}

/* Lighter overlay - shows more of the image */
.hero-overlay {
  transition: background 0.3s ease;
}

/* Light mode - subtle overlay */
[data-theme="light"] .hero-overlay,
:root:not([data-theme="dark"]) .hero-overlay {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.45) 0%, rgba(6, 95, 115, 0.35) 100%) !important;
}

/* Dark mode - slightly darker but still shows image */
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.55) 0%, rgba(6, 95, 115, 0.45) 100%) !important;
}

.slide-content {
  position: relative;
  z-index: 10;
  animation: slideIn 0.6s ease-out;
}

/* Enhanced text shadows for better readability on lighter overlay */
.slide-title {
  animation: slideInDown 0.5s ease-out;
  text-shadow:
    0 6px 20px rgba(0, 0, 0, 0.8),
    0 3px 10px rgba(0, 0, 0, 0.6),
    0 1px 4px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
  animation: slideInUp 0.6s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
  text-shadow:
    0 4px 16px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Glass Morphism Image Loader */
.hero-image-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Light mode loader - glassmorphic with warm tint */
[data-theme="light"] .hero-image-loading,
:root:not([data-theme="dark"]) .hero-image-loading {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(8, 145, 178, 0.15) 50%,
    rgba(255, 255, 255, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Dark mode loader - glassmorphic with cool tint */
[data-theme="dark"] .hero-image-loading {
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(8, 145, 178, 0.25) 50%,
    rgba(15, 23, 42, 0.35) 100%);
  border: 1px solid rgba(8, 145, 178, 0.3);
}

.hero-image-loading.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Glassmorphic Spinner */
.glass-spinner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

/* Light mode spinner */
[data-theme="light"] .glass-spinner,
:root:not([data-theme="dark"]) .glass-spinner {
  background: linear-gradient(135deg,
    rgba(8, 145, 178, 0.2) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(8, 145, 178, 0.15) 100%);
  border: 3px solid transparent;
  border-top-color: rgba(8, 145, 178, 0.8);
  border-right-color: rgba(8, 145, 178, 0.6);
  box-shadow:
    0 8px 32px rgba(8, 145, 178, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* Dark mode spinner */
[data-theme="dark"] .glass-spinner {
  background: linear-gradient(135deg,
    rgba(8, 145, 178, 0.3) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    rgba(8, 145, 178, 0.25) 100%);
  border: 3px solid transparent;
  border-top-color: rgba(6, 182, 212, 0.9);
  border-right-color: rgba(6, 182, 212, 0.6);
  box-shadow:
    0 8px 32px rgba(6, 182, 212, 0.4),
    inset 0 2px 8px rgba(6, 182, 212, 0.3);
}

.glass-spinner::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Light mode spinner inner glow */
[data-theme="light"] .glass-spinner::before,
:root:not([data-theme="dark"]) .glass-spinner::before {
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(8, 145, 178, 0.1) 70%,
    transparent 100%);
}

/* Dark mode spinner inner glow */
[data-theme="dark"] .glass-spinner::before {
  background: radial-gradient(circle,
    rgba(6, 182, 212, 0.4) 0%,
    rgba(15, 23, 42, 0.3) 70%,
    transparent 100%);
}

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

.btn-hero {
  background: white;
  color: #0891b2;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.7s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-hero:active {
  transform: translateY(-1px) scale(1.02);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 20;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: all;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-arrow-prev {
  margin-left: 1rem;
}

.slider-arrow-next {
  margin-right: 1rem;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background: white;
  width: 2rem;
  border-radius: 1rem;
}

/* ================== Animations ================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

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

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


/* ================== Dashboard Modal Forms ================== */
.modal-form-card {
  padding: 2rem;
  max-width: 800px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9375rem;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-input:hover:not(:focus) {
  border-color: var(--muted-foreground);
}

.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

[dir="rtl"] select.form-input {
  background-position: left 1rem center;
  padding-left: 3rem;
  padding-right: 1rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

/* Form validation states */
.form-input:required:invalid {
  border-color: var(--border);
}

.form-input:required:valid {
  border-color: var(--border);
}

/* Dashboard specific responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-form-card {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* ================== Professional Appointment Booking System ================== */
.appointment-booking-container {
  padding: 1rem 0;
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s;
}

.booking-step.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.booking-step.completed {
  background: var(--accent);
  color: var(--primary);
}

.booking-step-number {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.875rem;
}

.booking-step.active .booking-step-number {
  background: rgba(255, 255, 255, 0.3);
}

/* Dates Grid */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.date-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.date-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.date-card:hover::before {
  transform: scaleX(1);
}

.date-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
}

.date-card.selected::before {
  transform: scaleX(1);
}

.date-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border);
  background: var(--surface-1);
}

.date-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.date-card.disabled::before {
  display: none;
}

.date-day-name {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-card.selected .date-day-name {
  opacity: 0.95;
}

.date-day-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.date-month-year {
  font-size: 0.8125rem;
  opacity: 0.75;
  font-weight: 500;
}

.date-card.selected .date-month-year {
  opacity: 0.9;
}

/* Times Grid */
.times-section {
  margin-top: 2rem;
}

.times-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.times-section-title::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: var(--primary);
  border-radius: 2px;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.875rem;
}

.time-slot {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  position: relative;
  overflow: hidden;
}

.time-slot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.time-slot > span {
  position: relative;
  z-index: 1;
}

.time-slot:hover:not(.disabled):not(.booked) {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.15);
}

.time-slot.selected {
  border-color: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

.time-slot.selected::after {
  opacity: 1;
}

.time-slot.booked {
  background: var(--surface-1);
  border-color: var(--border);
  color: var(--muted-foreground);
  cursor: not-allowed;
  opacity: 0.5;
  position: relative;
}

.time-slot.booked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--destructive);
  transform: translate(-50%, -50%) rotate(-15deg);
  opacity: 0.5;
}

.time-slot.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: var(--surface-1);
  border-style: dashed;
}

.time-slot.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Booking Summary */
.booking-summary {
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.2);
}

.booking-summary-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.booking-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: calc(var(--radius) - 2px);
  backdrop-filter: blur(8px);
}

.booking-summary-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

.booking-summary-value {
  font-size: 1rem;
  font-weight: 700;
}

/* Empty State */
.booking-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
}

.booking-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.booking-empty-text {
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
  .dates-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
  }

  .date-card {
    padding: 1rem 0.75rem;
  }

  .date-day-number {
    font-size: 1.5rem;
  }

  .times-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.625rem;
  }

  .time-slot {
    padding: 0.875rem 0.5rem;
    font-size: 0.9375rem;
  }

  .booking-step-indicator {
    gap: 0.5rem;
  }

  .booking-step {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .booking-step-text {
    display: none;
  }
}
