@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #050505;
  --bg-deep: #0b0a0a;
  --ink: #f5f1f1;
  --muted: #b8a3a3;
  --brand: #b31217;
  --brand-strong: #e0242a;
  --accent: #ff3b3b;
  --card: #141010;
  --line: rgba(255, 255, 255, 0.10);
  --shadow: 0 24px 60px -30px rgba(224, 36, 42, 0.35), 0 12px 24px rgba(0, 0, 0, 0.65);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(600px 340px at 12% -10%, rgba(224, 36, 42, 0.25), transparent 60%),
    radial-gradient(720px 420px at 110% 10%, rgba(255, 59, 59, 0.18), transparent 65%),
    linear-gradient(180deg, #050505 0%, #080606 55%, #0b0a0a 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -10% -5% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 59, 59, 0.35), transparent 60%);
  filter: blur(6px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

body::after {
  inset: auto auto -12% -8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 70% 40%, rgba(224, 36, 42, 0.32), transparent 62%);
}

header,
main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: "Cinzel Decorative", "Sora", serif;
  letter-spacing: -0.2px;
  color: var(--ink);
}

p {
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-strong);
}

hr,
hr[style] {
  border: none !important;
  border-top: 1px solid var(--line) !important;
}

.logo {
  background: #0f0b0b;
  padding: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.muted {
  color: var(--muted);
}

.onboardCard {
  background: var(--card);
  border: 1px solid rgba(224, 36, 42, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  animation: cardIn 0.6s ease-out both;
}

.bookingToast {
  background: #1a1212;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
}

.bookingToast a {
  color: var(--brand-strong);
}

label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
}

.field {
  margin-bottom: 12px;
}

.onboardInput,
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f0b0b;
  color: var(--ink);
  font-size: 1rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.onboardInput::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(184, 163, 163, 0.8);
}

.onboardInput:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(224, 36, 42, 0.65);
  box-shadow: 0 0 0 3px rgba(224, 36, 42, 0.25);
}

.onboardInput[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.95;
  filter:
    invert(1)
    sepia(1)
    saturate(6)
    hue-rotate(-12deg)
    brightness(1.15)
    drop-shadow(0 0 6px rgba(255, 59, 59, 0.85))
    drop-shadow(0 0 12px rgba(224, 36, 42, 0.45));
}

textarea.onboardInput {
  resize: vertical;
  min-height: 120px;
}

input[type="checkbox"] {
  accent-color: var(--brand-strong);
}

.apptBox {
  background: linear-gradient(180deg, #1b1313 0%, #141010 100%);
  border: 1px solid rgba(224, 36, 42, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 10px;
  box-shadow: 0 12px 28px rgba(224, 36, 42, 0.15);
  animation: rise 0.45s ease-out both;
}

.apptTitle {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apptRow {
  margin-top: 6px;
  color: var(--ink);
}

.apptRow b {
  font-weight: 600;
}

.onboardBtn,
.bounceBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-family: "Sora", "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.onboardBtn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  box-shadow: 0 14px 22px rgba(224, 36, 42, 0.28);
}

.onboardBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(224, 36, 42, 0.32);
}

.bounceBtn {
  width: 100%;
  max-width: 320px;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--accent) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  animation: bounce 1.4s ease-in-out infinite;
  box-shadow: 0 16px 28px rgba(224, 36, 42, 0.3);
}

.bounceBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

div[style*="display:flex"][style*="gap:10px"] {
  justify-content: center;
  flex-wrap: wrap;
}

div[style*="display:flex"][style*="gap:10px"] a.bounceBtn {
  flex: 0 1 220px !important;
  width: auto;
  max-width: none;
}

.bounceBtn:active,
.onboardBtn:active {
  transform: translateY(0);
}

.onboardBtn:focus-visible,
.bounceBtn:focus-visible,
.onboardInput:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid rgba(224, 36, 42, 0.6);
  outline-offset: 2px;
}

a.onboardBtn[style*="background:#ddd"],
a.onboardBtn[style*="background: #ddd"] {
  background: transparent !important;
  color: var(--brand) !important;
  border: 1px solid var(--brand) !important;
  box-shadow: none !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

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

@media (max-width: 720px) {
  .onboardCard {
    padding: 18px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .bounceBtn,
  .onboardBtn {
    width: 100%;
  }

  div[style*="display:flex"][style*="gap:10px"] a.bounceBtn {
    flex: 1 1 100% !important;
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
