/*
 * "Existing patients only" notice shown before the LatePoint booking form
 * (markup: inc/booking-notice.php). Colour variables come from the booking
 * page's own palette; the fallbacks keep it readable anywhere else.
 * Every rule is prefixed with .sb-booking-gate on purpose: the booking page
 * has an inline `.pg * { margin: 0; padding: 0 }` reset (and `.pg p` text
 * styles) that load later and would otherwise win.
 */

.sb-booking-gate .sb-booking-notice {
  max-width: 680px;
  margin: 3.5rem auto 3rem;
  padding: 2.75rem 2.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(47, 47, 90, 0.1);
  border-radius: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--navy, #2f2f5a);
  text-align: center;
}

.sb-booking-gate .sb-booking-notice p {
  margin: 0 0 1rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.sb-booking-gate .sb-booking-notice a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sb-booking-gate .sb-booking-notice a:hover {
  color: var(--rust, #b5573a);
}

.sb-booking-gate .sb-booking-notice__continue {
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--navy, #2f2f5a);
  color: var(--warm-white, #fdfaf6);
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.sb-booking-gate .sb-booking-notice__continue:hover,
.sb-booking-gate .sb-booking-notice__continue:focus-visible {
  background: var(--rust, #b5573a);
  color: var(--warm-white, #fdfaf6);
  transform: translateY(-2px);
}

.sb-booking-gate .sb-booking-notice__continue[hidden],
.sb-booking-gate .sb-booking-gate__form[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .sb-booking-gate .sb-booking-notice {
    margin: 2.5rem auto 2rem;
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }
}
