/* =====================================================
   Azotte  Book a Demo page styles
   Brand palette only. No new colours.
   ===================================================== */

.demo-page { background: #F4F7FB; color: #050B1F; }

/* ---------- HERO ---------- */
.demo-hero {
  padding: clamp(40px, 6vw, 80px) 24px clamp(40px, 5vw, 64px);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(56,182,255,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(0,74,173,.08), transparent 60%),
    #F4F7FB;
}
.demo-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .demo-hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.demo-hero-copy { max-width: 560px; }
.demo-hero-copy .sol-hero-title { margin: 14px 0 14px; }
.demo-hero-copy .sol-hero-sub { color: #4A5876; max-width: 520px; }

.demo-hero-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 12px;
}
.demo-hero-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem; color: #050B1F;
}
.demo-hero-list li i { color: #004AAD; flex-shrink: 0; margin-top: 2px; }

.demo-hero-trust {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(5,11,31,.08);
}
.demo-hero-trust .mk-eyebrow { display: block; margin-bottom: 10px; }
.demo-hero-trust-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.demo-hero-trust-row span {
  font-size: 0.8rem; color: #4A5876;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(5,11,31,.08);
}

/* ---------- BOOKING CARD ---------- */
.demo-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(5,11,31,.08);
  box-shadow: 0 20px 60px rgba(5,11,31,.08);
  padding: 28px;
  position: sticky; top: 24px;
}
@media (max-width: 1023px) { .demo-card { position: static; } }

.demo-card-head {
  border-bottom: 1px solid rgba(5,11,31,.08);
  padding-bottom: 18px; margin-bottom: 22px;
}
.demo-card-h {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  margin: 0 0 6px; color: #050B1F;
}
.demo-card-sub { margin: 0; color: #4A5876; font-size: 0.9rem; }
.demo-card-sub b { color: #050B1F; font-weight: 600; }

/* ---------- FORM ---------- */
.demo-form { display: grid; gap: 22px; }

.demo-fieldset {
  border: 0; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.demo-legend {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #004AAD;
  margin: 0 0 4px; padding: 0;
}

.demo-row {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 560px) { .demo-row { grid-template-columns: 1fr 1fr; } }

.demo-field { display: grid; gap: 6px; }

.demo-label {
  font-size: 0.85rem; font-weight: 600; color: #050B1F;
}
.demo-optional { color: #4A5876; font-weight: 400; font-size: 0.78rem; }

.demo-field input,
.demo-field select,
.demo-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: #050B1F;
  background: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(5,11,31,.16);
  min-height: 44px;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%; box-sizing: border-box;
}
.demo-field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }

.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
  outline: 0;
  border-color: #004AAD;
  box-shadow: 0 0 0 4px rgba(0,74,173,.12);
}
.demo-field input:invalid:not(:placeholder-shown) {
  border-color: #b3261e;
}

/* ---------- SLOTS ---------- */
.demo-slots-wrap { display: grid; gap: 8px; }
.demo-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  min-height: 60px;
}
.demo-slots-empty,
.demo-slots-loading,
.demo-slots-none {
  grid-column: 1 / -1;
  font-size: 0.85rem; color: #4A5876;
  margin: 0; padding: 14px 0;
  text-align: center;
}
.demo-slots-loading::before {
  content: ''; display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(0,74,173,.25);
  border-top-color: #004AAD;
  border-radius: 50%;
  margin-right: 8px; vertical-align: -2px;
  animation: demo-spin .8s linear infinite;
}
@keyframes demo-spin { to { transform: rotate(360deg); } }

.demo-slot {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: #004AAD;
  background: #fff;
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid rgba(0,74,173,.25);
  cursor: pointer;
  transition: all .12s ease;
  text-align: center;
  min-height: 40px;
}
.demo-slot:hover { background: rgba(56,182,255,.08); border-color: #004AAD; }
.demo-slot[aria-pressed="true"],
.demo-slot.is-selected {
  background: #004AAD; color: #fff; border-color: #004AAD;
  box-shadow: 0 4px 14px rgba(0,74,173,.25);
}
.demo-slot:disabled,
.demo-slot[aria-disabled="true"] {
  opacity: 0.45; cursor: not-allowed;
  text-decoration: line-through;
}

/* ---------- ALERTS ---------- */
.demo-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.demo-alert-error {
  background: rgba(179,38,30,.08);
  border: 1px solid rgba(179,38,30,.2);
  color: #b3261e;
}

/* ---------- SUBMIT ---------- */
.demo-submit {
  width: 100%;
  position: relative;
  min-height: 48px;
  font-size: 1rem;
}
.demo-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.demo-submit-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 10px; vertical-align: -2px;
  animation: demo-spin .8s linear infinite;
}
.demo-submit.is-loading .demo-submit-spinner { display: inline-block; }
.demo-submit.is-loading .demo-submit-label { opacity: 0.7; }

.demo-fineprint {
  margin: 0; font-size: 0.78rem; color: #4A5876; line-height: 1.5;
}
.demo-fineprint a { color: #004AAD; text-decoration: underline; }

/* ---------- SUCCESS ---------- */
.demo-success { text-align: center; padding: 12px 0; }
.demo-success-icon {
  width: 72px; height: 72px;
  background: rgba(56,182,255,.15);
  color: #004AAD;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.demo-success-h {
  font-size: 1.5rem; font-weight: 700;
  margin: 0 0 8px; color: #050B1F;
}
.demo-success-p { margin: 0 0 18px; color: #4A5876; }
.demo-success-meta {
  display: grid; gap: 10px;
  text-align: left;
  background: #F4F7FB;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.demo-success-meta div {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.9rem;
}
.demo-success-meta dt { color: #4A5876; margin: 0; font-weight: 500; }
.demo-success-meta dd { margin: 0; color: #050B1F; font-weight: 600; text-align: right; }
.demo-success-tip { margin: 0; font-size: 0.82rem; color: #4A5876; }
.demo-success-tip code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0,74,173,.06);
  padding: 1px 6px; border-radius: 4px;
  color: #004AAD; font-size: 0.82em;
}

/* ---------- TRUST STRIP ---------- */
.demo-strip {
  background: #fff;
  border-top: 1px solid rgba(5,11,31,.08);
  padding: 32px 24px;
}
.demo-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .demo-strip-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .demo-strip-inner { grid-template-columns: repeat(4, 1fr); } }

.demo-strip-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.demo-strip-item i { color: #004AAD; flex-shrink: 0; margin-top: 2px; }
.demo-strip-item b {
  display: block; font-weight: 700; color: #050B1F; font-size: 0.95rem;
  margin-bottom: 2px;
}
.demo-strip-item span { display: block; color: #4A5876; font-size: 0.85rem; line-height: 1.5; }

/* ---------- LEAN HERO (exchange page) ---------- */
.demo-hero--lean .demo-hero-trust { display: none; }
.demo-hero--lean { padding-bottom: clamp(32px, 4vw, 48px); }

/* ============================================================
   MANAGE BOOKING PAGE
   ============================================================ */
.manage-page { background: #F4F7FB; color: #050B1F; }

.manage-hero {
  padding: clamp(40px, 5vw, 64px) 24px clamp(24px, 3vw, 40px);
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(56,182,255,.10), transparent 60%),
    #F4F7FB;
}
.manage-hero-inner { max-width: 880px; margin: 0 auto; }
.manage-hero .sol-hero-title { margin: 14px 0 10px; }
.manage-hero .sol-hero-sub { color: #4A5876; max-width: 600px; }

.manage-shell { padding: 0 24px clamp(48px, 6vw, 80px); }
.manage-shell-inner {
  max-width: 880px; margin: 0 auto;
  display: grid; gap: 18px;
}

.manage-loading {
  text-align: center; padding: 48px 0;
  color: #4A5876; font-size: 0.95rem;
}
.manage-loading::before {
  content: ''; display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,74,173,.25);
  border-top-color: #004AAD;
  border-radius: 50%;
  margin-right: 10px; vertical-align: -3px;
  animation: demo-spin .8s linear infinite;
}

.manage-flash {
  background: rgba(56,182,255,.12);
  border: 1px solid rgba(0,74,173,.2);
  color: #004AAD;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
}

.manage-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(5,11,31,.08);
  box-shadow: 0 12px 40px rgba(5,11,31,.06);
  padding: 24px;
  display: grid; gap: 14px;
}
.manage-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.manage-card-h {
  font-size: 1.15rem; font-weight: 700; margin: 0; color: #050B1F;
}
.manage-status {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(56,182,255,.15); color: #004AAD;
}
.manage-status[data-status="cancelled"],
.manage-status[data-status="noshow"],
.manage-status[data-status="no-show"] {
  background: rgba(179,38,30,.1); color: #b3261e;
}
.manage-status[data-status="completed"] {
  background: rgba(5,11,31,.08); color: #4A5876;
}

.manage-summary {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 0; padding: 0;
}
@media (min-width: 600px) { .manage-summary { grid-template-columns: 1fr 1fr; } }
.manage-summary > div {
  display: grid; gap: 4px;
  padding: 12px 14px;
  background: #F4F7FB;
  border-radius: 10px;
}
.manage-summary dt { font-size: 0.78rem; color: #4A5876; margin: 0; font-weight: 500; }
.manage-summary dd { font-size: 0.95rem; color: #050B1F; margin: 0; font-weight: 600; word-break: break-word; }

.manage-inactive {
  margin: 0; padding: 12px 14px;
  background: rgba(179,38,30,.06);
  border: 1px solid rgba(179,38,30,.18);
  border-radius: 10px;
  color: #b3261e;
  font-size: 0.88rem;
}

.manage-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.manage-actions .mk-btn { display: inline-flex; align-items: center; gap: 8px; }

.manage-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,74,173,.2);
  padding: 24px;
  display: grid; gap: 14px;
}
.manage-panel-h { font-size: 1.05rem; font-weight: 700; margin: 0; color: #050B1F; }
.manage-panel-p { margin: 0; color: #4A5876; font-size: 0.9rem; }

.manage-notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.manage-notes-empty { color: #4A5876; font-size: 0.88rem; font-style: italic; }
.manage-notes-item {
  background: #F4F7FB; border-radius: 10px; padding: 10px 14px;
  display: grid; gap: 4px;
}
.manage-notes-item time { font-size: 0.75rem; color: #4A5876; }
.manage-notes-item p { margin: 0; font-size: 0.92rem; color: #050B1F; line-height: 1.5; white-space: pre-wrap; }
