/* ==========================================================================
   SalonPro — Soft UI Evolution design system
   Beauty & wellness palette: blush rose, sage, warm cream, brushed gold
   Type: Lora (display) + Raleway (body)
   ========================================================================== */

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  /* brand - Vibrant Pastel Palette */
  --rose: #ec4899;
  --rose-2: #f472b6;
  --rose-deep: #be185d;
  --rose-soft: #fce7f3;
  --blush: #fdf2f8;
  --sage: #14b8a6;
  --sage-2: #2dd4bf;
  --sage-soft: #ccfbf1;
  --gold: #f59e0b;
  --gold-2: #fbbf24;
  --gold-soft: #fef3c7;

  /* ink & surfaces */
  --ink: #1e1b4b;
  --ink-2: #312e81;
  --ink-3: #3730a3;
  --cream: #fefcf9;
  --cream-2: #fef9f3;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --text: #1e1b4b;
  --muted: #6b6b8a;
  --muted-2: #a1a1b5;

  /* lines */
  --line: #f1f0f5;
  --line-2: #e8e6ee;

  /* semantic */
  --green: #10b981;
  --green-soft: #d1fae5;
  --red: #ef4444;
  --red-soft: #fee2e2;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --blue: #3b82f6;
  --blue-soft: #dbeafe;
  --purple: #8b5cf6;
  --purple-soft: #ede9fe;
  --pink: #ec4899;
  --pink-soft: #fce7f3;
  --orange: #f97316;
  --orange-soft: #ffedd5;
  --teal: #14b8a6;
  --teal-soft: #ccfbf1;
  --indigo: #6366f1;
  --indigo-soft: #e0e7ff;

  /* shape */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow-sm: 0 1px 2px rgba(70, 35, 50, 0.05);
  --shadow: 0 18px 40px -26px rgba(90, 40, 60, 0.4), 0 2px 8px rgba(90, 40, 60, 0.04);
  --shadow-lg: 0 44px 90px -46px rgba(60, 24, 42, 0.55), 0 4px 16px rgba(60, 24, 42, 0.06);
  --shadow-glow: 0 16px 34px -18px rgba(210, 84, 123, 0.55);

  /* type */
  --font: "Raleway", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --sidebar-w: 272px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 92% -12%, rgba(236, 72, 153, 0.08), transparent 60%),
    radial-gradient(900px 560px at -8% 8%, rgba(245, 158, 11, 0.08), transparent 58%),
    var(--cream);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.35px; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
img { max-width: 100%; }
::selection { background: var(--blush); color: var(--rose-deep); }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 14px;
  color: var(--muted);
}
.boot .mark {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.6px;
}
.boot .mark b { color: var(--rose); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 650;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.1px;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: linear-gradient(135deg, var(--rose-2), var(--rose) 45%, var(--rose-deep));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -18px rgba(210, 84, 123, 0.65);
}

.btn-gold {
  background: linear-gradient(135deg, #f0d386, var(--gold-2) 40%, var(--gold));
  color: #3a2a05;
  box-shadow: 0 14px 30px -16px rgba(201, 162, 39, 0.85);
}
.btn-gold:hover { filter: brightness(1.04); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--line-2);
  background: #fff;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-soft); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { background: rgba(210, 84, 123, 0.08); color: var(--rose-deep); }

.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #f9dade; }

.btn-sm { padding: 8px 14px; font-size: 12.5px; border-radius: 10px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 15px; }
.btn-icon { padding: 9px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------------- Forms ---------------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 14px; }
.label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}
.label span { color: var(--muted-2); font-weight: 500; }
.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
  font-size: 14px;
  min-height: 44px;
}
.input:hover,
.select:hover,
.textarea:hover { border-color: #dcc9c8; }
.input::placeholder,
.textarea::placeholder { color: var(--muted-2); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(210, 84, 123, 0.13);
  background: #fffefd;
}
.textarea { min-height: 92px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d6f75' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 40px; }
.hint { font-size: 12px; color: var(--muted); }
.field-error { font-size: 12px; color: var(--red); }
.input.error, .select.error, .textarea.error { border-color: var(--red); }
.grid { display: grid; gap: 16px; }
.grid > *, .dash-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; gap: 12px; align-items: center; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mb-16 { margin-bottom: 16px; }
.w-full { width: 100%; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 12.5px; }
.text-xs { font-size: 11.5px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: #e3d6d4;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
  flex: 0 0 auto;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.switch.on { background: linear-gradient(135deg, var(--rose-2), var(--rose)); }
.switch.on::after { transform: translateX(20px); }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--rose); }
.check a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover { box-shadow: var(--shadow); }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.card-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.card-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.card-body { padding: 22px; }
.card-body.tight { padding: 14px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}
.badge.plain::before { display: none; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-purple { background: var(--purple-soft); color: var(--purple); }
.badge-gray { background: #f2eeeb; color: var(--muted); }
.badge-gold { background: var(--gold-soft); color: #856510; }
.badge-rose { background: var(--rose-soft); color: var(--rose-deep); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s;
}
.chip.active { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.chip:hover:not(.active) { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-soft); }

/* ---------------- Tables ---------------- */
.table-wrap { overflow: auto; border-radius: 0 0 var(--radius) var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  padding: 13px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.14s; }
table.data tbody tr:hover { background: #fef8fa; }
table.data td.right, table.data th.right { text-align: right; }
table.data .cell-main { font-weight: 650; color: var(--text); }
table.data .cell-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.table-actions { display: flex; gap: 4px; justify-content: flex-end; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex: 0 0 auto;
  letter-spacing: 0.3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.avatar.lg { width: 54px; height: 54px; border-radius: 17px; font-size: 17px; }
.avatar.round { border-radius: 50%; }

/* ---------------- Toasts + modal ---------------- */
.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
}
.toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  animation: toastIn 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.toast.error { border-left-color: var(--red); }
.toast.info { border-left-color: var(--blue); }
.toast svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.toast .toast-title { font-weight: 700; margin-bottom: 1px; }
.toast .toast-msg { color: var(--muted); font-size: 12.5px; }
@keyframes toastIn { from { transform: translateY(12px) scale(0.98); opacity: 0; } }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 36, 0.42);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  animation: fadeIn 0.18s ease;
}
.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 44px);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modalIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.modal.wide { width: min(820px, 100%); }
.modal.xwide { width: min(1040px, 100%); }
.modal-head {
  padding: 22px 24px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.modal-head h3 { font-size: 19px; letter-spacing: -0.3px; }
.modal-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.modal-body { padding: 6px 24px 20px; overflow: auto; }
.modal-foot {
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: var(--surface-2);
  border-radius: 0 0 24px 24px;
}
.x-close {
  border: 0;
  background: #f7eeeb;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  flex: 0 0 auto;
  transition: all 0.16s;
}
.x-close:hover { background: var(--rose-soft); color: var(--rose-deep); transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------------- Landing ---------------- */
.landing { background: transparent; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 244, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(240, 229, 226, 0.8);
}
.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.4px; font-size: 19px; font-family: var(--font-display); }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--rose-2), var(--rose) 48%, var(--rose-deep));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(210, 84, 123, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand small { display: block; font-family: var(--font); font-size: 9px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--rose); font-weight: 800; margin-top: -3px; }
.nav-links { display: flex; gap: 24px; margin-left: 10px; }
.nav-links a { font-size: 13.5px; color: var(--muted); font-weight: 600; transition: color 0.16s; }
.nav-links a:hover { color: var(--rose-deep); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 84% -16%, rgba(210, 84, 123, 0.22), transparent 62%),
    radial-gradient(760px 520px at 4% 106%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(170deg, #fffaf7 0%, #fdf1f4 52%, #faf4ec 100%);
  color: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(210, 84, 123, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid rgba(210, 84, 123, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(210, 84, 123, 0.14); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin: 24px 0 18px;
  font-weight: 500;
  color: var(--ink);
}
.hero h1 em { color: var(--rose); font-style: italic; }
.hero p.lead { font-size: 16px; line-height: 1.68; color: #6f5f66; max-width: 490px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 27px; color: var(--ink); font-weight: 600; }
.hero-meta div span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.4px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; color: var(--muted); }
.hero-note svg { width: 15px; height: 15px; color: var(--rose); }

.hero-visual { position: relative; }
.mockup {
  background: linear-gradient(180deg, #ffffff, #fffaf6);
  border-radius: 26px;
  padding: 22px;
  color: var(--text);
  box-shadow: 0 44px 90px -34px rgba(120, 50, 80, 0.45), 0 2px 10px rgba(120, 50, 80, 0.06);
  transform: rotate(-1.2deg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockup-head .t { font-weight: 700; font-size: 14px; }
.mockup-head .s { font-size: 11px; color: var(--muted); }
.mock-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 16px; }
.mock-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  padding: 9px 2px;
  font-size: 10.5px;
  color: var(--muted);
  background: #fff;
}
.mock-day b { display: block; font-size: 15px; color: var(--text); margin-top: 2px; }
.mock-day.active { background: linear-gradient(160deg, var(--rose), var(--rose-deep)); color: rgba(255, 255, 255, 0.8); border-color: transparent; box-shadow: var(--shadow-glow); }
.mock-day.active b { color: #fff; }
.mock-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.mock-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mock-slot { border: 1px solid var(--line); border-radius: 9px; padding: 9px 0; text-align: center; font-size: 12px; font-weight: 650; color: var(--muted); background: #fff; }
.mock-slot.active { background: var(--rose-soft); border-color: var(--rose); color: var(--rose-deep); }
.mock-slot.off { opacity: 0.35; text-decoration: line-through; }
.mock-cta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 11px 13px; }
.mock-cta .price { font-weight: 700; font-size: 16px; }
.mock-cta .price small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; }
.mock-cta .btn { padding: 9px 14px; font-size: 12px; }
.mock-float {
  position: absolute;
  right: -14px;
  bottom: -24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 13px 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  transform: rotate(1.5deg);
  border: 1px solid var(--line);
}
.mock-float .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; }
.mock-float .dot svg { width: 16px; height: 16px; }
.mock-float b { display: block; font-size: 12px; }
.mock-float span { color: var(--muted); font-size: 11px; }

.logo-strip { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }
.logo-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.logo-strip .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.section { max-width: 1180px; margin: 0 auto; padding: 84px 24px; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.14;
}
.section-head p { color: var(--muted); margin-top: 13px; font-size: 15px; line-height: 1.65; }
.kicker { font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--rose); font-weight: 800; margin-bottom: 10px; display: block; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(210, 84, 123, 0.25); }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--rose-soft), var(--blush));
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  box-shadow: inset 0 0 0 1px rgba(210, 84, 123, 0.08);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.2px; font-weight: 600; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px; background: rgba(255, 255, 255, 0.86); border-radius: 20px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--rose);
  opacity: 0.45;
  line-height: 1;
  font-style: italic;
}
.step h3 { margin: 12px 0 8px; font-size: 16px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.pricing-toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.featured { border-color: rgba(210, 84, 123, 0.45); box-shadow: 0 28px 60px -32px rgba(210, 84, 123, 0.5); background: linear-gradient(180deg, #fffafb, #fff); }
.price-tag { position: absolute; top: -11px; left: 28px; background: linear-gradient(135deg, var(--rose-2), var(--rose)); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; box-shadow: var(--shadow-glow); }
.price-name { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rose); }
.price-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 8px 0 4px; }
.price-card .desc { font-size: 12.5px; color: var(--muted); min-height: 38px; line-height: 1.55; }
.price-amount { font-size: 38px; font-weight: 700; letter-spacing: -1.6px; margin: 16px 0 2px; }
.price-amount small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-list { margin: 18px 0 22px; display: grid; gap: 9px; }
.price-list li { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.price-list svg { width: 15px; height: 15px; color: var(--sage); flex: 0 0 auto; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

.cta-band {
  max-width: 1180px;
  margin: 0 auto 84px;
  border-radius: 28px;
  background:
    radial-gradient(420px 240px at 88% 0%, rgba(232, 121, 158, 0.4), transparent 70%),
    radial-gradient(360px 240px at 6% 100%, rgba(201, 162, 39, 0.24), transparent 70%),
    linear-gradient(140deg, #2a1a24, #3d2532 60%, #2a1a24);
  color: #fff;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 70px -44px rgba(42, 26, 36, 0.9);
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 35px); font-weight: 500; letter-spacing: -0.7px; position: relative; }
.cta-band p { color: #c9b9c1; font-size: 14px; margin-top: 9px; position: relative; }

.site-footer { border-top: 1px solid var(--line); background: rgba(248, 241, 238, 0.7); }
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer .brand { margin-bottom: 9px; }
.site-footer a:hover { color: var(--rose-deep); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------------- Auth pages ---------------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.auth-aside {
  background:
    radial-gradient(760px 480px at 16% -4%, rgba(210, 84, 123, 0.35), transparent 62%),
    radial-gradient(560px 420px at 92% 104%, rgba(201, 162, 39, 0.22), transparent 62%),
    linear-gradient(155deg, #251620, #3b2331 58%, #241620);
  color: #fbf6f8;
  padding: 48px clamp(30px, 5vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.auth-aside .brand { color: #fff; }
.auth-aside .brand-mark { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: none; }
.auth-aside .brand small { color: rgba(255, 255, 255, 0.5); }
.auth-quote { max-width: 430px; }
.auth-quote h2 { font-family: var(--font-display); font-size: clamp(27px, 3vw, 40px); font-weight: 500; line-height: 1.18; letter-spacing: -0.9px; margin: 26px 0 17px; }
.auth-quote h2 em { color: var(--rose-2); font-style: italic; }
.auth-quote p { color: #bba9b2; font-size: 14px; line-height: 1.75; }
.auth-points { display: grid; gap: 12px; margin-top: 30px; }
.auth-points li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #e2d4da; }
.auth-points svg { width: 16px; height: 16px; color: var(--rose-2); flex: 0 0 auto; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: min(430px, 100%); }
.auth-card h1 { font-family: var(--font-display); font-size: 31px; font-weight: 500; letter-spacing: -0.7px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.auth-card .card { padding: 28px; }
.auth-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.auth-foot a { color: var(--rose-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.demo-box { margin-top: 16px; background: linear-gradient(135deg, var(--gold-soft), #fdf7e8); border: 1px dashed #ddc48a; border-radius: 14px; padding: 13px 15px; font-size: 11.5px; color: #71571a; line-height: 1.75; }
.demo-box b { font-size: 12px; }
.demo-box code { background: rgba(255, 255, 255, 0.65); padding: 1px 6px; border-radius: 5px; font-size: 11px; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

/* ---------------- App shell ---------------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background:
    radial-gradient(420px 320px at 20% 0%, rgba(210, 84, 123, 0.22), transparent 65%),
    linear-gradient(180deg, #261722, #331f2b 55%, #241620);
  color: #e3d7dc;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 4px; }
.sidebar .brand { color: #fff; padding: 2px 8px 0; }
.sidebar .brand small { color: rgba(255, 255, 255, 0.45); }
.sidebar .brand-mark { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; color: var(--rose-2); }

/* salon identity inside sidebar */
.salon-id {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 4px 4px;
  padding: 11px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.salon-id .salon-logo { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
.salon-id .si-body { min-width: 0; }
.salon-id .si-body b { display: block; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.salon-id .si-body span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.45); }

.side-nav { margin-top: 8px; display: grid; gap: 3px; }
.side-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.9px; color: rgba(255, 255, 255, 0.34); font-weight: 800; padding: 14px 12px 6px; }
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
.side-link svg { width: 17px; height: 17px; opacity: 0.75; flex: 0 0 auto; }
.side-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.side-link.active {
  background: linear-gradient(135deg, rgba(232, 121, 158, 0.95), rgba(178, 58, 99, 0.92));
  color: #fff;
  font-weight: 650;
  box-shadow: 0 12px 26px -16px rgba(210, 84, 123, 0.9);
}
.side-link.active svg { color: #fff; opacity: 1; }
.side-link .count { margin-left: auto; background: rgba(255, 255, 255, 0.14); border-radius: 99px; font-size: 10.5px; padding: 2px 7px; }
.side-link .count.hot { background: var(--gold-2); color: #2a2004; font-weight: 800; }
.sidebar-foot { margin-top: auto; padding-top: 18px; }
.public-link-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 13px;
  margin-bottom: 14px;
}
.public-link-card .pl-title { font-size: 9.5px; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); font-weight: 800; margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.public-link-card .pl-url { font-size: 11px; color: rgba(255, 255, 255, 0.78); word-break: break-all; line-height: 1.5; margin-bottom: 9px; }
.public-link-card .pl-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.public-link-card .btn { padding: 6px 9px; font-size: 10.5px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #f7eef2; }
.public-link-card .btn:hover { background: var(--rose); color: #fff; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 11px 8px 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.side-user .who { min-width: 0; flex: 1; }
.side-user .who b { display: block; font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .who span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .logout { background: transparent; border: 0; color: rgba(255, 255, 255, 0.5); cursor: pointer; padding: 7px; border-radius: 9px; transition: all 0.16s; }
.side-user .logout:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 244, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(240, 229, 226, 0.85);
  padding: 0 30px;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar .titles { min-width: 0; }
.topbar h1 { font-size: 21px; letter-spacing: -0.4px; line-height: 1.25; font-weight: 600; }
.topbar .sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.topbar-date { font-size: 12px; color: var(--muted); padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.7); }
.notif-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: all 0.16s; }
.notif-btn:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-soft); }
.notif-btn .dot { position: absolute; top: 9px; right: 10px; width: 6px; height: 6px; background: var(--rose); border-radius: 50%; box-shadow: 0 0 0 3px rgba(210, 84, 123, 0.15); }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; }

.page { padding: 28px 30px 48px; max-width: 1460px; width: 100%; margin: 0 auto; }
.page.flush { padding-top: 0; }

/* KPI */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 15px; }
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 18px 19px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kpi .k-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi .k-label { font-size: 11.5px; color: var(--muted); font-weight: 650; letter-spacing: 0.25px; }
.kpi .k-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.kpi .k-icon svg { width: 16px; height: 16px; }
.kpi .k-value { font-size: 27px; font-weight: 700; letter-spacing: -1.1px; margin-top: 11px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .k-value small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.kpi .k-foot { font-size: 11.5px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.kpi .k-foot b { color: var(--green); font-weight: 700; }
.kpi .k-foot b.down { color: var(--red); }
.kpi.gold {
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(210, 84, 123, 0.34), transparent 70%),
    linear-gradient(150deg, #2a1a24, #3c2431);
  color: #fff;
  border-color: transparent;
}
.kpi.gold .k-label { color: #c6b2bc; }
.kpi.gold .k-value { color: #fff; }
.kpi.gold .k-foot { color: #b09fa8; }
.kpi.gold .k-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }

.i-green { background: var(--green-soft); color: var(--green); }
.i-gold { background: var(--gold-soft); color: #8a6a12; }
.i-blue { background: var(--blue-soft); color: var(--blue); }
.i-purple { background: var(--purple-soft); color: var(--purple); }
.i-red { background: var(--red-soft); color: var(--red); }
.i-gray { background: #f4efec; color: var(--muted); }
.i-rose { background: var(--rose-soft); color: var(--rose-deep); }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 16px; }
.dash-grid.equal { grid-template-columns: 1fr 1fr; }

/* charts */
.chart-wrap { position: relative; }
.chart-legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.chart-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 5px; }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 174px; padding: 10px 0 0; }
.chart-card { display: flex; flex-direction: column; }
.chart-card .card-body { flex: 1; display: flex; flex-direction: column; }
.chart-card .bar-chart { flex: 1; height: auto !important; min-height: 174px; }
.chart-card .bar { max-width: 34px; width: 46%; }
.chart-card .bar-chart { background: repeating-linear-gradient(to top, transparent 0, transparent 24%, rgba(74, 52, 63, 0.06) 24%, rgba(74, 52, 63, 0.06) 24.2%); }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; position: relative; }
.bar-pair { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.bar { width: 34%; max-width: 15px; border-radius: 5px 5px 2px 2px; min-height: 2px; transition: height 0.45s ease; }
.bar.income { background: linear-gradient(180deg, #8fbb9f, var(--sage)); }
.bar.expense { background: linear-gradient(180deg, #f6c9d5, #eaa4b8); }
.bar-col .lbl { font-size: 10px; color: var(--muted-2); white-space: nowrap; }
.bar-col:hover .bar { filter: brightness(1.08); }
.bar-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  padding: 5px 8px;
  border-radius: 7px;
  white-space: nowrap;
  display: none;
  pointer-events: none;
  z-index: 2;
}
.bar-col:hover .bar-tip { display: block; }

.spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.spark i { flex: 1; background: var(--rose-soft); border-radius: 2px; min-height: 3px; }

.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut-legend { display: grid; gap: 9px; flex: 1; min-width: 150px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.donut-legend i { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 auto; }
.donut-legend b { margin-left: auto; color: var(--text); font-weight: 650; }

/* timeline / list */
.list { display: grid; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .time { font-size: 12px; font-weight: 700; color: var(--rose-deep); min-width: 44px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.list-item .main-t { font-size: 13px; font-weight: 650; }
.list-item .sub-t { font-size: 11.5px; color: var(--muted); }
.list-item .right-i { margin-left: auto; text-align: right; display: flex; align-items: center; gap: 8px; }

.today-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.16s, border-color 0.16s;
}
.today-item:hover { background: var(--surface-2); border-color: var(--line); }
.today-item .t-time { width: 48px; font-size: 12.5px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; padding-top: 2px; }
.today-item .t-dot { width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--rose-2), var(--rose)); flex: 0 0 auto; }
.today-item .t-body { flex: 1; min-width: 0; }
.today-item .t-name { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.today-item .t-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.quick-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 12.5px;
  font-weight: 650;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.quick-action:hover { border-color: rgba(210, 84, 123, 0.4); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.quick-action .qi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.quick-action .qi svg { width: 15px; height: 15px; }
.quick-action span { color: var(--muted); font-weight: 500; font-size: 10.5px; display: block; }

/* appointments */
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar .input, .filter-bar .select { min-height: 40px; width: auto; font-size: 12.5px; }
.search-box { position: relative; flex: 1; min-width: 180px; max-width: 320px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted-2); }
.search-box .input { padding-left: 36px; width: 100%; }

.seg { display: inline-flex; background: #f6eeea; border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 13px; border-radius: 9px; font-size: 12px; font-weight: 650; color: var(--muted); cursor: pointer; transition: all 0.16s; }
.seg button.active { background: #fff; color: var(--rose-deep); box-shadow: var(--shadow-sm); }

/* calendar */
.cal-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-board { display: grid; grid-template-columns: 62px repeat(var(--cols), minmax(150px, 1fr)); overflow: auto; max-height: 640px; position: relative; }
.cal-head { position: sticky; top: 0; z-index: 3; background: #fff; padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; font-weight: 700; }
.cal-head small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.cal-time { font-size: 10px; color: var(--muted-2); text-align: right; padding: 0 8px 0 0; transform: translateY(-6px); height: 60px; font-variant-numeric: tabular-nums; }
.cal-col { position: relative; border-left: 1px solid var(--line); height: var(--cal-height); }
.cal-gridline { position: absolute; left: 0; right: 0; border-top: 1px dashed #f2e8e4; }
.cal-event {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 10.5px;
  line-height: 1.25;
  overflow: hidden;
  cursor: pointer;
  border-left: 3px solid;
  background: #fdf1f5;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.cal-event b { display: block; font-size: 10.5px; font-weight: 700; }
.cal-event span { color: var(--muted); font-size: 9.5px; }
.cal-event.pending { background: #fdf6e6; }
.cal-event.completed { background: #eaf5ef; }
.cal-event.canceled { background: #fdeceb; opacity: 0.7; text-decoration: line-through; }
.cal-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--rose); z-index: 2; }
.cal-now::before { content: ""; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 17px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.svc-card:hover { border-color: rgba(210, 84, 123, 0.28); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card.inactive { opacity: 0.62; }
.svc-top { display: flex; gap: 11px; align-items: flex-start; }
.svc-color { width: 10px; height: 38px; border-radius: 5px; flex: 0 0 auto; }
.svc-card h3 { font-size: 14.5px; letter-spacing: -0.1px; font-weight: 600; }
.svc-card .svc-desc { font-size: 11.5px; color: var(--muted); line-height: 1.55; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 11px; margin-top: auto; }
.svc-price { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.svc-dur { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.svc-dur svg { width: 13px; height: 13px; }
.svc-actions { display: flex; gap: 4px; }

/* staff */
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.staff-card { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform 0.18s, box-shadow 0.18s; }
.staff-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.staff-card .avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 18px; }
.staff-card h3 { font-size: 15px; margin-top: 2px; font-weight: 600; }
.staff-card .role { font-size: 11.5px; color: var(--muted); }
.staff-card .tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 2px 0 4px; }
.staff-card .tag { font-size: 9.5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); padding: 2px 7px; border-radius: 6px; }
.staff-card .staff-actions { display: flex; gap: 6px; width: 100%; margin-top: auto; padding-top: 6px; }
.staff-card .staff-actions .btn { flex: 1; }

/* customers */
.cust-cell { display: flex; align-items: center; gap: 10px; }
.cust-cell .who { min-width: 0; }
.cust-cell .who b { display: block; font-weight: 650; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust-cell .who span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* finance */
.seg-type { display: inline-flex; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; }
.seg-type button { border: 0; background: #fff; padding: 9px 17px; font-size: 12.5px; font-weight: 650; color: var(--muted); cursor: pointer; }
.seg-type button.active.income { background: var(--green-soft); color: var(--green); }
.seg-type button.active.expense { background: var(--red-soft); color: var(--red); }

.money-in { color: var(--green); font-weight: 700; }
.money-out { color: var(--red); font-weight: 700; }

/* subscription */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.plan-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; display: flex; flex-direction: column; position: relative; transition: transform 0.18s, box-shadow 0.18s; }
.plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan-card.current { border-color: rgba(210, 84, 123, 0.45); background: linear-gradient(180deg, #fffbfc, #fff); }
.plan-card.current::after { content: "Mevcut paket"; position: absolute; top: -9px; right: 14px; background: linear-gradient(135deg, var(--rose-2), var(--rose)); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: 0.6px; padding: 3px 9px; border-radius: 99px; }
.plan-card h3 { font-size: 17px; font-weight: 600; }
.plan-card .p-desc { font-size: 11.5px; color: var(--muted); min-height: 34px; margin-top: 4px; line-height: 1.55; }
.plan-card .p-price { font-size: 28px; font-weight: 700; letter-spacing: -1.1px; margin: 12px 0 2px; }
.plan-card .p-price small { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-card ul { display: grid; gap: 7px; margin: 14px 0 16px; }
.plan-card li { font-size: 11.5px; color: var(--muted); display: flex; gap: 6px; }
.plan-card li svg { width: 13px; height: 13px; color: var(--sage); flex: 0 0 auto; margin-top: 2px; }
.plan-card .btn { margin-top: auto; }

.bill-banner { display: flex; align-items: center; gap: 14px; padding: 17px 19px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-soft), #fdf6e4); border: 1px solid #ebd8ac; color: #6e5511; }
.bill-banner.red { background: linear-gradient(135deg, var(--red-soft), #fdf0f1); border-color: #f3ccd1; color: #8b221c; }
.bill-banner svg { width: 22px; height: 22px; flex: 0 0 auto; }
.bill-banner b { display: block; font-size: 13px; }
.bill-banner span { font-size: 12px; opacity: 0.85; }

/* settings */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 10px 14px; font-size: 13px; font-weight: 650; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.active { color: var(--rose-deep); border-bottom-color: var(--rose); }
.hours-row { display: grid; grid-template-columns: 110px 1fr 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .dname { font-size: 12.5px; font-weight: 650; }
.setting-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting-item:last-child { border-bottom: 0; }
.setting-item b { display: block; font-size: 13px; }
.setting-item p { font-size: 11.5px; color: var(--muted); margin-top: 2px; max-width: 440px; line-height: 1.55; }

/* brand assets (logo & cover) */
.asset-grid { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.asset-preview {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(135deg, var(--blush), #fff6ee);
  display: grid;
  place-items: center;
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  aspect-ratio: 1;
}
.asset-preview.cover { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
.asset-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset-preview .asset-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 0;
  background: rgba(42, 26, 36, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.asset-preview .asset-remove:hover { background: var(--red); }
.asset-meta { display: grid; gap: 8px; }
.asset-meta b { font-size: 13px; }
.asset-meta p { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.upload-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px dashed var(--line-2);
  border-radius: 13px;
  background: var(--surface-2);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.16s;
}
.upload-drop:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-soft); }
.upload-drop svg { width: 17px; height: 17px; }
.upload-drop input { display: none; }
.upload-drop.busy { opacity: 0.6; pointer-events: none; }

/* notifications */
.notif-row { display: flex; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.notif-row:last-child { border-bottom: 0; }
.notif-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.notif-ic svg { width: 15px; height: 15px; }
.notif-body { flex: 1; min-width: 0; }
.notif-body .nt { font-size: 12.5px; font-weight: 650; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.notif-body .nb { font-size: 11.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-body .nm { font-size: 10.5px; color: var(--muted-2); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }

/* empty */
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .ei { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, var(--rose-soft), #fff); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 13px; color: var(--rose); }
.empty .ei svg { width: 22px; height: 22px; }
.empty h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.empty p { font-size: 12.5px; max-width: 340px; margin: 0 auto; line-height: 1.6; }
.empty .btn { margin-top: 14px; }

/* ==================================================================
   Public salon page — standalone, no platform branding
   ================================================================== */
.pub-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(210, 84, 123, 0.08), transparent 60%),
    var(--cream);
}
.pub-hero {
  position: relative;
  color: #fff;
  padding: 26px 24px 62px;
  background:
    radial-gradient(700px 420px at 82% -20%, rgba(232, 121, 158, 0.34), transparent 66%),
    radial-gradient(520px 360px at 6% 108%, rgba(201, 162, 39, 0.22), transparent 62%),
    linear-gradient(150deg, #2a1a24, #3b2431 58%, #2a1a24);
  overflow: hidden;
}
.pub-hero.has-cover { padding-top: 26px; padding-bottom: 72px; }
.pub-hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  right: -220px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand, #e8799e) 70%, transparent), transparent 68%);
  opacity: 0.45;
  pointer-events: none;
}
.pub-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transform: scale(1.02);
}
.pub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 16, 24, 0.35), rgba(30, 16, 24, 0.72) 58%, rgba(30, 16, 24, 0.88));
}
.pub-hero-inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 34px; padding-top: 4px; }
.pub-top-right { display: flex; gap: 8px; align-items: center; }
.pub-top-right .btn { color: #f4e9ee; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.pub-top-right .btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.pub-top-right .btn-gold { background: linear-gradient(135deg, #f0d386, var(--gold-2) 40%, var(--gold)); color: #3a2a05; border-color: transparent; }

.pub-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.salon-logo {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(145deg, var(--rose-2), var(--rose-deep));
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.salon-logo img { width: 100%; height: 100%; object-fit: cover; }
.salon-logo.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.salon-logo.lg { width: 86px; height: 86px; border-radius: 26px; font-size: 30px; }
.pub-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.05; margin: 0 0 10px; }
.pub-hero p { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; max-width: 590px; line-height: 1.65; }
.pub-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #f6dfae; border: 1px solid rgba(227, 192, 92, 0.4); padding: 6px 11px; border-radius: 99px; background: rgba(227, 192, 92, 0.12); margin-bottom: 14px; }
.pub-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.pub-meta span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); }
.pub-meta svg { width: 15px; height: 15px; color: #f0d386; }
.pub-body { max-width: 1000px; margin: -38px auto 40px; padding: 0 24px; position: relative; z-index: 3; }
.booking-card { background: #fff; border-radius: 26px; box-shadow: 0 40px 80px -42px rgba(60, 24, 42, 0.5), 0 2px 10px rgba(60, 24, 42, 0.05); border: 1px solid var(--line); overflow: hidden; }
.booking-steps { display: flex; padding: 20px 24px; gap: 8px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fffafb, var(--surface-2)); overflow-x: auto; }
.bstep { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted-2); font-weight: 650; white-space: nowrap; }
.bstep .n { width: 23px; height: 23px; border-radius: 50%; background: #f3eae7; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.bstep.active { color: var(--text); }
.bstep.active .n { background: linear-gradient(135deg, var(--rose-2), var(--rose)); color: #fff; box-shadow: var(--shadow-glow); }
.bstep.done .n { background: var(--sage); color: #fff; }
.bstep-sep { flex: 1; min-width: 8px; height: 1px; background: var(--line-2); align-self: center; }
.booking-inner { padding: 26px; }
.booking-inner h2 { font-size: 21px; letter-spacing: -0.4px; font-weight: 600; }
.booking-inner .bsub { font-size: 12.5px; color: var(--muted); margin-top: 3px; margin-bottom: 20px; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick {
  text-align: left;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px 15px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s, transform 0.16s;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  max-width: 100%;
}
.pick:hover { border-color: rgba(210, 84, 123, 0.5); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.pick.selected { border-color: var(--rose); background: linear-gradient(135deg, #fffafb, var(--rose-soft)); box-shadow: 0 0 0 3px rgba(210, 84, 123, 0.12); }
.pick .p-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.pick .p-body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; gap: 2px; }
.pick .p-name { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .p-sub { font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .p-price { margin-left: auto; font-weight: 700; font-size: 13.5px; white-space: nowrap; flex: 0 0 auto; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; margin-bottom: 18px; }
.day-btn { flex: 0 0 auto; width: 60px; padding: 10px 0; border-radius: 13px; border: 1px solid var(--line-2); background: #fff; text-align: center; cursor: pointer; transition: all 0.16s; }
.day-btn small { display: block; font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.day-btn b { display: block; font-size: 18px; font-weight: 700; margin-top: 1px; }
.day-btn .mo { display: block; font-size: 9px; color: var(--muted-2); }
.day-btn:hover { border-color: var(--rose); }
.day-btn.active { background: linear-gradient(160deg, var(--rose), var(--rose-deep)); border-color: transparent; box-shadow: var(--shadow-glow); }
.day-btn.active small, .day-btn.active b, .day-btn.active .mo { color: #fff; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot-btn { padding: 11px 6px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 650; cursor: pointer; transition: all 0.15s; }
.slot-btn:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-soft); }
.slot-btn.selected { background: linear-gradient(160deg, var(--rose), var(--rose-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.slot-btn .sname { display: block; font-size: 9px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.slot-btn.selected .sname { color: rgba(255, 255, 255, 0.65); }
.booking-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 26px; border-top: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.booking-foot .sum { font-size: 11.5px; color: var(--muted); }
.booking-foot .sum b { color: var(--text); font-size: 13px; }
.summary-box { background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 15px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 3px 0; }
.summary-row span { color: var(--muted); }
.summary-row b { font-weight: 650; }
.summary-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 8px; font-weight: 700; font-size: 14px; }
.success-box { text-align: center; padding: 28px 18px 10px; }
.success-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(145deg, var(--sage-soft), #f6fbf8); color: var(--sage); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 16px 34px -20px rgba(111, 156, 131, 0.8); }
.success-icon svg { width: 30px; height: 30px; }
.success-box h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.success-box p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.success-detail { max-width: 390px; margin: 20px auto 0; text-align: left; }
.pub-side { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 18px; }
.pub-info-card { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 20px; box-shadow: var(--shadow-sm); }
.pub-info-card h3 { font-size: 14px; letter-spacing: 0.2px; margin-bottom: 11px; font-weight: 600; }
.pub-info-card p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.hours-mini { display: grid; gap: 4px; }
.hours-mini div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 3px 0; }
.hours-mini div b { color: var(--text); font-weight: 650; }
.hours-mini div.today { color: var(--rose-deep); font-weight: 650; }
.hours-mini div.today b { color: var(--rose-deep); }
.pub-footer { max-width: 1000px; margin: 0 auto; padding: 0 24px 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); }
.pub-footer a { color: var(--rose-deep); font-weight: 650; }
.pub-contact { display: flex; gap: 14px; flex-wrap: wrap; }
.pub-contact span, .pub-contact a { display: inline-flex; align-items: center; gap: 6px; }
.pub-contact svg { width: 14px; height: 14px; color: var(--rose); }

/* payment */
.pay-wrap { min-height: 100vh; background: var(--cream); display: grid; place-items: center; padding: 30px 16px; }
.pay-card { width: min(470px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pay-head { background: radial-gradient(420px 240px at 90% -10%, rgba(210, 84, 123, 0.5), transparent 65%), linear-gradient(150deg, #2a1a24, #3b2431); color: #fff; padding: 24px 26px; }
.pay-head .ph-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pay-head .brand { color: #fff; }
.pay-head .brand small { color: rgba(255, 255, 255, 0.5); }
.pay-head h2 { font-family: var(--font-display); font-size: 23px; font-weight: 500; margin-top: 10px; }
.pay-head p { font-size: 11.5px; color: #c3b2ba; margin-top: 4px; }
.pay-amount { font-size: 31px; font-weight: 700; letter-spacing: -1.1px; margin-top: 14px; }
.pay-body { padding: 24px 26px; }
.pay-brand { display: flex; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); justify-content: center; margin-top: 14px; }
.card-input { position: relative; }
.card-input svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 16px; color: var(--muted-2); }
.sim-note { background: var(--blue-soft); border-radius: 12px; padding: 11px 13px; font-size: 11px; color: var(--blue); line-height: 1.6; margin-bottom: 14px; }

/* appointment page */
.appt-page { min-height: 100vh; background: var(--cream); padding: 34px 16px 60px; }
.appt-wrap { min-height: 100vh; background: var(--cream); padding: 34px 16px 60px; }
.appt-card { width: min(540px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.appt-head { padding: 24px 26px; background: radial-gradient(420px 240px at 88% -10%, rgba(210, 84, 123, 0.45), transparent 65%), linear-gradient(150deg, #2a1a24, #3b2431); color: #fff; }
.appt-head h1 { font-family: var(--font-display); font-size: 25px; font-weight: 500; margin-top: 6px; }
.appt-head p { font-size: 12px; color: #c3b2ba; margin-top: 3px; }
.appt-head .pub-badge { margin-bottom: 6px; }
.appt-body { padding: 24px 26px; }
.appt-status { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 12px; font-size: 12.5px; font-weight: 650; margin-bottom: 16px; }
.appt-rows { display: grid; gap: 0; }
.appt-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.appt-row span { color: var(--muted); }
.appt-row b { text-align: right; }
.appt-foot { padding: 17px 26px; background: var(--surface-2); border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.appt-foot .btn { flex: 1; }

/* account */
.account-hero { background: radial-gradient(520px 300px at 88% -10%, rgba(210, 84, 123, 0.4), transparent 65%), linear-gradient(150deg, #2a1a24, #3b2431); color: #fff; padding: 36px 24px 64px; }
.account-hero-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.account-hero h1 { font-family: var(--font-display); font-size: 31px; font-weight: 500; }
.account-hero p { color: #c3b2ba; font-size: 12.5px; margin-top: 4px; }
.account-body { max-width: 1000px; margin: -36px auto 60px; padding: 0 24px; position: relative; }
#acct-salons { scroll-margin-top: 88px; }
.acct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.acct-stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 17px; box-shadow: var(--shadow-sm); }
.acct-stat .v { font-size: 23px; font-weight: 700; letter-spacing: -0.7px; margin-top: 4px; }
.acct-stat .l { font-size: 11px; color: var(--muted); }

/* admin tables */
.salon-cell { display: flex; align-items: center; gap: 11px; }
.salon-cell > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.salon-cell > div > b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.salon-cell > div > .text-xs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.data.salons-table th, table.data.salons-table td { padding-left: 14px; padding-right: 14px; }
table.data.customers-table th, table.data.customers-table td { padding-left: 14px; padding-right: 14px; }
.salon-cell .logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; flex: 0 0 auto; overflow: hidden; }
.salon-cell .logo img { width: 100%; height: 100%; object-fit: cover; }
.mono { font-variant-numeric: tabular-nums; }
.link { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 2px; }

/* QR modal */
.qr-shell { text-align: center; }
.qr-frame {
  display: inline-grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 0 auto 14px;
}
.qr-frame img { width: 248px; height: 248px; display: block; border-radius: 8px; }
.qr-hint { font-size: 11.5px; color: var(--muted); word-break: break-all; line-height: 1.5; }

/* misc */
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.pill-note { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.skeleton { background: linear-gradient(90deg, #f4ece8, #fbf7f4, #f4ece8); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 9px; }
@keyframes sk { to { background-position: -200% 0; } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.spin-dark { border-color: rgba(45, 35, 40, 0.16); border-top-color: var(--rose); }
@keyframes spin { to { transform: rotate(360deg); } }
.mobile-only { display: none; }
.span-2 { grid-column: span 2; }
.form-stack { display: grid; gap: 4px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) {
  .span-2 { grid-column: auto; }
  .check-grid { grid-template-columns: 1fr; }
}

/* responsive */
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid, .staff-grid, .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid.equal { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-100%); transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.3, 1); width: 282px; flex-basis: 282px; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .burger { display: grid; }
  .hero-inner { grid-template-columns: 1fr; padding: 58px 24px 76px; gap: 44px; }
  .hero-visual { max-width: 430px; }
  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { margin: 0 24px 64px; padding: 34px; }
  .topbar { padding: 0 18px; min-height: 70px; }
  .page { padding: 22px 18px 42px; }
  .pub-side { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-nav-inner { padding: 0 16px; gap: 12px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-ghost { display: none; }
  .cta-band { padding: 26px; margin: 0 16px 56px; }
  .cta-band .row { flex-wrap: wrap; width: 100%; }
  .cta-band .row .btn { flex: 1 1 100%; }
  .filter-bar .row { flex-wrap: wrap; margin-left: 0 !important; width: 100%; }
  .filter-bar .row .input { flex: 1 1 130px; min-width: 0; }
  .bar-chart { gap: 4px; }
  .bar-col .lbl { display: none; }
  .bar { max-width: 8px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 37px; letter-spacing: -1.2px; }
  .hero-meta { gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid, .staff-grid, .plan-cards { grid-template-columns: 1fr; }
  .dash-grid.equal { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .acct-stats { grid-template-columns: 1fr 1fr; }
  .booking-inner { padding: 19px; }
  .pick-grid { grid-template-columns: 1fr; }
  .booking-steps { padding: 14px 16px; gap: 5px; }
  .bstep { font-size: 10px; gap: 5px; }
  .bstep .n { width: 20px; height: 20px; font-size: 9px; }
  .bstep-sep { min-width: 4px; }
  .bstep:not(.active):not(.done) { font-size: 0; gap: 0; }
  .booking-foot { padding: 13px 19px; }
  .topbar-date { display: none; }
  .topbar .sub { display: none; }
  .topbar .titles { flex: 1; min-width: 0; }
  .topbar h1 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-actions > .btn { width: 40px; height: 40px; padding: 0; font-size: 0; gap: 0; justify-content: center; }
  .topbar-actions > .btn svg { width: 16px; height: 16px; }
  .hours-row { grid-template-columns: 90px 1fr 1fr; }
  .hours-row .h-act { grid-column: 1 / -1; }
  .modal-backdrop { padding: 12px; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: 22px 22px 0 0; }
  .site-footer-inner { flex-direction: column; gap: 18px; }
  .pub-hero { padding: 20px 16px 52px; }
  .pub-body { padding: 0 14px; margin-top: -32px; }
  .pub-identity { gap: 13px; }
  .salon-logo.lg { width: 68px; height: 68px; border-radius: 20px; }
  .asset-grid { grid-template-columns: 1fr; }
  .qr-frame img { width: 210px; height: 210px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; border-radius: 16px; }
  .kpi .k-label { font-size: 10.5px; }
  .kpi .k-value { font-size: 21px; letter-spacing: -0.7px; margin-top: 9px; }
  .kpi .k-foot { font-size: 10.5px; margin-top: 6px; }
  .kpi .k-icon { width: 28px; height: 28px; }
  .kpi .k-icon svg { width: 14px; height: 14px; }
  .price-grid { gap: 14px; }
  .booking-steps { padding: 16px 18px; }
}

@media (max-width: 400px) {
  .card-head { flex-wrap: wrap; gap: 10px; }
  .card-head > div:first-child { flex: 1 1 100%; }
}

@media (max-width: 360px) {
  .kpi .k-icon { display: none; }
}

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