/* Identidad Bookuki. Los negocios conservan su color propio en su página pública. */
:root {
  --bookuki-violet: #7c3aed;
  --bookuki-pink: #f472b6;
  --bookuki-green: #10b981;
  --bookuki-blue: #38bdf8;
  --bookuki-night: #111827;
  --brand: var(--bookuki-violet);
  --salon-brand: var(--bookuki-violet);
  --ink: #1f2937;
  --muted: #64748b;
  --paper: #f9fafb;
  --line: #e5e7eb;
  --soft: #f3efff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

body {
  color: var(--ink);
  background: radial-gradient(circle at 4% 2%, #ede6ff 0, transparent 29rem), var(--paper);
}

button, .button {
  min-height: 52px;
  border-radius: 14px;
  padding: 12px 20px;
  background: var(--brand);
  box-shadow: 0 6px 16px #7c3aed1c;
  font-weight: 700;
}

button:hover, .button:hover { filter: brightness(.96); }
button:focus-visible, .button:focus-visible, a:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a78bfa;
  outline-offset: 3px;
}

.secondary, .text-button, .danger { box-shadow: none; }
.secondary { background: #fff; border-color: #d9d4e7; color: #30254b; }
.secondary:hover { background: #f8f5ff; }
.text-button { color: #453c59; }
.danger { background: #fff0f4; color: #a52251; }

input, select, textarea {
  border-color: #d9dce6;
  border-radius: 12px;
  color: var(--ink);
}
input:hover, select:hover, textarea:hover { border-color: #b8b4cc; }
input:focus, select:focus, textarea:focus { border-color: var(--bookuki-violet); }
label { color: #344054; }
h1, h2, h3 { color: var(--bookuki-night); }
h1 { font-weight: 800; letter-spacing: -.045em; }
h2 { font-weight: 750; letter-spacing: -.035em; }
.eyebrow { color: var(--bookuki-violet); letter-spacing: .12em; }
.brand { font-family: inherit; font-weight: 800; letter-spacing: -.04em; }
.bookuki-logo { display: block; width: 196px; height: auto; max-width: 100%; }
.wizard-header .bookuki-logo { width: 213px; }
.sidebar .bookuki-logo { width: 182px; }
.setup .bookuki-logo { width: 236px; }
.mark { background: var(--brand); border-radius: 14px; font-family: inherit; font-weight: 800; }

.panel, .stat, .wizard-card {
  border-color: var(--line);
  box-shadow: 0 8px 25px #11182708;
}
.panel { border-radius: 18px; }
.stat { border-radius: 18px; }
.stat strong { color: var(--bookuki-night); font-weight: 750; }
.stat.highlight { background: #f2ebff; border-color: #e4d6ff; }
.notice { background: #f2ebff; color: #44305e; border-radius: 12px; }
.plan { border-color: #ddd0ff; color: #5b21b6; background: #f6f0ff; }

.sidebar { background: #fff; border-color: var(--line); }
.sidebar .brand { padding: 0 4px; }
.salon-label { background: #f5f1ff; border: 1px solid #e8dcff; border-radius: 14px; }
.salon-label strong { color: var(--bookuki-night); }
.nav button { color: #555b70; box-shadow: none; font-weight: 650; }
.nav button:hover { background: #f7f3ff; }
.nav button.active { background: #eee5ff; color: #5b21b6; }
.sidebar footer strong { color: #5b21b6; }
.topbar { border-color: var(--line); }
.topbar .avatar { background: #eee5ff; color: #5b21b6; font-weight: 750; }
.column { background: #fff; }
.initial { background: #efe6ff; color: #5b21b6; }
.appointment { background: #e8f9f1; border-color: var(--bookuki-green); }
.appointment.pending { background: #eaf7fe; border-color: var(--bookuki-blue); }
.appointment.cancelled, .appointment.rejected { background: #f3f4f6; border-color: #9ca3af; }
.badge { border-radius: 8px; }
.quota-meter { background: #eee8fb; }
.quota-meter > div { background: var(--bookuki-violet); }

.wizard-shell { max-width: 1320px; }
.wizard-header { border-bottom: 1px solid #e9e7ef; }
.wizard-layout { gap: clamp(30px, 6vw, 92px); }
.wizard-aside { position: relative; padding: 32px 0; }
.wizard-aside h1 {
  font-family: inherit;
  font-size: clamp(43px, 5vw, 67px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.06em;
}
.wizard-aside h1::first-line { color: var(--bookuki-violet); }
.wizard-aside > p:not(.eyebrow) { color: #536176; }
.wizard-aside-note { border-left-color: var(--bookuki-green); }
.wizard-aside::after {
  content: '';
  display: block;
  width: 78px;
  height: 82px;
  margin-top: 40px;
  background: url('/brand/symbol.svg') center / contain no-repeat;
  filter: drop-shadow(0 12px 24px #7c3aed20);
}
.wizard-card { border-radius: 26px; box-shadow: 0 24px 70px #6d42a41a; }
.wizard-progress strong { color: #6d28d9; }
.progress-track { background: #eee9f9; }
.progress-track > div { background: linear-gradient(90deg, var(--bookuki-violet), #a78bfa); }
.wizard-content h2 { font-family: inherit; font-weight: 800; letter-spacing: -.05em; }
.url-preview { background: #f5f0ff; color: #5e5272; border: 1px solid #e6dcfc; border-radius: 12px; }
.url-preview strong { color: #5b21b6; }
.day-choice span { border-radius: 12px; }
.day-choice input:checked + span { background: #eee5ff; color: #5b21b6; border-color: #a78bfa; }
.day-choice input:focus-visible + span { outline-color: #a78bfa; }

.public.salon-page { --brand: var(--salon-brand); }
.public.salon-page .eyebrow { color: var(--brand); }
.public header { border-color: var(--line); }
.public .brand { font-size: clamp(21px, 3vw, 28px); }
.public .hero h1 { font-family: inherit; font-weight: 850; letter-spacing: -.055em; }
.public .slots button { background: #f6f4fb; }
.public .slots button.selected { background: var(--brand); }
.public .notice { background: #edf9f2; color: #155e45; }
.public .service-price { color: var(--brand); }
.public footer { margin: 26px 0; }
.bookuki-credit { display: inline-flex; align-items: center; gap: 7px; color: #667085; }
.bookuki-credit img { width: 19px; height: 21px; object-fit: contain; }
.setup { margin-top: clamp(36px, 7vw, 80px); }
.setup-salon { display: inline-flex; align-items: center; margin-bottom: 22px; padding: 7px 12px; background: #f1ebff; border-radius: 999px; color: #5b21b6; font-size: 14px; font-weight: 700; }
.setup h1 { font-size: clamp(40px, 6vw, 58px); }

dialog { box-shadow: 0 24px 90px #11182735; }
dialog::backdrop { background: #11182786; }
dialog .close { background: #f3effb; }
#toast { background: var(--bookuki-night); }
.error { background: #fff1f2; color: #9f1239; }

@media (max-width: 900px) {
  .sidebar { border-color: var(--line); }
  .sidebar .bookuki-logo { width: 160px; }
  .nav button.active { background: #eee5ff; }
  .wizard-aside { padding: 8px 0 0; }
  .wizard-aside::after { display: none; }
  .wizard-aside h1 { font-size: clamp(34px, 8vw, 44px); }
}

@media (max-width: 540px) {
  .wizard-header .bookuki-logo { width: 172px; }
  .wizard-card { min-height: 0; }
  .wizard-content { padding: 28px 20px; }
  .wizard-actions { gap: 8px; }
  .wizard-actions button { min-width: 0; flex: 1; padding-inline: 11px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .public { padding: 18px; }
}
