/* Booking form polish (shared by the GVI sister sites). Inline styles on some sites need !important. */
@keyframes bf-sheen { 0% { transform: translateX(-120%); } 24%, 100% { transform: translateX(120%); } }
form[name^="booking"] label { transition: color .25s ease; }
form[name^="booking"] label:focus-within { color: #b31423 !important; }
form[name^="booking"] input::placeholder, form[name^="booking"] textarea::placeholder { color: #8a8f95; opacity: 1; }
form[name^="booking"] input, form[name^="booking"] select, form[name^="booking"] textarea {
  transition: border-color .2s ease, box-shadow .3s cubic-bezier(.22, 1, .36, 1), background .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
form[name^="booking"] input:focus, form[name^="booking"] select:focus, form[name^="booking"] textarea:focus {
  outline: none; border-color: #e01b2e !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(224, 27, 46, .12); transform: translateY(-1px);
}
/* occasional shine on the send button while the form is on screen (pauses when someone is typing) */
form[name^="booking"] button[type="submit"] { position: relative; overflow: hidden; isolation: isolate; }
form[name^="booking"].bf-live button[type="submit"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .3) 50%, transparent 66%);
  animation: bf-sheen 6.4s cubic-bezier(.22, 1, .36, 1) 2.5s infinite;
}
form[name^="booking"].bf-live:focus-within button[type="submit"]::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  form[name^="booking"] input:focus, form[name^="booking"] select:focus, form[name^="booking"] textarea:focus { transform: none; }
  form[name^="booking"].bf-live button[type="submit"]::before { display: none; }
}
