/**
 * Oval Dental Clinics — booking.css
 * Additional booking widget styles (overlay, animations, confirmation).
 */

/* Ensure sr-only utility exists */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Google logo badge in testimonial cards */
.tc-glogo {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-inline-start: auto;
  opacity: 0.8;
}

/* Booking widget: sticky positioning for desktop */
@media (min-width: 769px) {
  .booking-right {
    position: relative;
  }
}

/* Calendar loading shimmer */
.cal-loading {
  height: 220px;
  background: var(--light);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.cal-loading::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  animation: shimmer 1.4s ease infinite;
}

/* Service card "link" cursor on detail page */
.srv-category-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Price card focus */
.price-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Calendar day focus */
.cal-day:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Time slot focus */
.time-slot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* WhatsApp button pulse on success */
.booking-success a.btn-gold {
  animation: float 2.5s ease-in-out infinite;
}
