/* "Book seat" — the booking CTA on the listing, the detail card and the sticky
   bar. Green, not the theme accent: a CTA converts on contrast with its
   surroundings. The colours come from --wb-cta / --wb-cta-hover / --wb-cta-ink,
   which fm-webinars.css sets per theme on .wbx pages; the fallbacks are the
   original fixed green (white on #15803d is 5.0:1). A gradient border turns
   slowly and a light sweeps across the fill; feedback is on press. */
@property --wb-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.wb-book {
  --wb-fill: var(--wb-cta, #15803d); --wb-glow: color-mix(in srgb, var(--wb-fill) 45%, transparent);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.6em; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; line-height: 1.2; letter-spacing: .005em; white-space: nowrap; text-decoration: none;
  color: var(--wb-cta-ink, #fff);
  background:
    linear-gradient(var(--wb-fill), var(--wb-fill)) padding-box,
    conic-gradient(from var(--wb-a), #ffd86b, #ff7a59, #c084fc, #4f8cff, #2fa877, #ffd86b) border-box;
  box-shadow: 0 10px 28px -10px var(--wb-glow), 0 0 0 0 var(--wb-glow);
  animation: wb-turn 4s linear infinite, wb-breathe 3.2s ease-in-out infinite;
  transition: transform .1s ease-out;
}
.wb-book::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%);
  transform: translateX(-120%); animation: wb-sweep 3.2s cubic-bezier(.4, 0, .2, 1) infinite;
}
.wb-book .arw { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.wb-book:hover, a:hover .wb-book { --wb-fill: var(--wb-cta-hover, #166534); color: var(--wb-cta-ink, #fff); }
.wb-book:hover .arw, a:hover .wb-book .arw { transform: translateX(4px); }
.wb-book:active, a:active .wb-book { transform: scale(.97); }
.wb-book:focus-visible { outline: 3px solid var(--wb-cta, #15803d); outline-offset: 3px; }
@keyframes wb-turn { to { --wb-a: 360deg; } }
@keyframes wb-breathe { 50% { box-shadow: 0 14px 34px -10px var(--wb-glow), 0 0 0 6px transparent, 0 0 22px 2px var(--wb-glow); } }
@keyframes wb-sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
  .wb-book, .wb-book::after { animation: none; }
  .wb-book::after { display: none; }
  .wb-book .arw { transition: none; }
}
