/* ─── REMIX Hairstyle – App CSS (Booking Wizard + Admin) ────────────────── */

/* ─── App Layout ─────────────────────────────────────────────────────────── */

.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.app-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.app-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
  min-height: 44px;
  padding: 0 8px;
}
.app-back:hover { color: var(--cream); }

/* ─── Progress Bar ───────────────────────────────────────────────────────── */

.progress-bar-wrap {
  height: 4px;
  background: var(--border);
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-lt));
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.progress-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 300ms ease;
}

.progress-step.active .progress-step-dot {
  border-color: var(--gold);
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.progress-step.done .progress-step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.progress-step-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}
.progress-step.active .progress-step-label { color: var(--gold); }
.progress-step.done .progress-step-label   { color: var(--muted-lt); }

@media (max-width: 480px) {
  .progress-step-label { display: none; }
}

/* ─── Wizard Steps ───────────────────────────────────────────────────────── */

.wizard-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
  animation: fadeSlideIn 250ms ease;
}

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

.wizard-step-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.wizard-step-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.wizard-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.wizard-actions .btn { min-width: 120px; }
.wizard-actions .btn-gold { flex: 1; }

/* ─── Gender Radio Cards ─────────────────────────────────────────────────── */

.gender-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.gender-card {
  position: relative;
}

.gender-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gender-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  min-height: 90px;
}

.gender-card label:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}

.gender-card input:checked + label {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.gender-icon { font-size: 1.8rem; }
.gender-label { font-size: 0.9rem; font-weight: 500; color: var(--cream); }

/* ─── Abo Toggle ─────────────────────────────────────────────────────────── */

.abo-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 200ms;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 200ms;
}

.toggle-switch input:checked + .toggle-slider { background: var(--gold); }
.toggle-switch input:checked + .toggle-slider::after { transform: translateX(20px); }

.abo-lookup-box {
  display: none;
  padding: 16px;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.abo-lookup-box.visible { display: block; }

.abo-found-info {
  display: none;
  padding: 12px 16px;
  background: rgba(92,184,92,0.08);
  border: 1px solid rgba(92,184,92,0.2);
  border-radius: var(--radius);
  margin-top: 10px;
}
.abo-found-info.visible { display: block; }

/* ─── Service Cards ──────────────────────────────────────────────────────── */

.category-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--surface2);
  padding: 4px;
  border-radius: var(--radius);
}

.cat-btn {
  flex: 1;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 36px;
}
.cat-btn.active {
  background: var(--surface);
  color: var(--gold);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.service-select-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.service-select-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.service-select-card:hover { border-color: rgba(201,168,76,0.4); }

.service-select-card.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
}

.service-select-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.service-select-icon { font-size: 1.5rem; flex-shrink: 0; }

.service-select-info { flex: 1; }
.service-select-name { font-size: 1rem; font-weight: 500; color: var(--cream); }
.service-select-desc { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.service-select-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.service-select-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-lt);
}

.service-select-duration {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ─── Calendar ───────────────────────────────────────────────────────────── */

.calendar-wrap {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-lt);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cal-nav-btn:hover { border-color: var(--gold); color: var(--gold); }

.cal-month-label {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.cal-weekday {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  padding: 6px 0;
  text-transform: uppercase;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  position: relative;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}

.cal-day.today { background: rgba(201,168,76,0.06); }
.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.cal-day.selected {
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-color: var(--gold);
}
.cal-day.selected::after { display: none; }

.cal-day.disabled {
  color: var(--border);
  cursor: not-allowed;
}

.cal-day.closed {
  color: rgba(136,136,136,0.4);
  text-decoration: line-through;
  cursor: not-allowed;
}

.cal-day.blocked {
  position: relative;
  color: rgba(224,85,85,0.5);
  cursor: not-allowed;
}

.cal-day.blocked::before {
  content: '✕';
  position: absolute;
  font-size: 0.6rem;
  color: var(--danger);
  top: 3px;
  right: 3px;
}

.cal-day.empty { cursor: default; }

/* ─── Time Slots ─────────────────────────────────────────────────────────── */

.slots-section {
  margin-top: 20px;
}

.slots-header {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-lt);
  margin-bottom: 12px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.slot-btn {
  padding: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  min-height: 44px;
}

.slot-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.slot-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.slot-btn.unavailable {
  color: var(--border);
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

.slots-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  padding: 20px 0;
  font-size: 0.875rem;
}

.slots-empty {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  background: var(--surface2);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* ─── Summary ────────────────────────────────────────────────────────────── */

.summary-card {
  background: var(--surface2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.summary-row:last-child { border-bottom: none; }

.summary-label { font-size: 0.875rem; color: var(--muted); flex-shrink: 0; }
.summary-value { font-size: 0.95rem; color: var(--cream); text-align: right; }
.summary-value.gold { color: var(--gold-lt); font-weight: 600; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.summary-total-label { font-size: 0.9rem; color: var(--muted-lt); }
.summary-total-price { font-size: 1.4rem; font-weight: 600; color: var(--gold-lt); }

/* ─── Confirmation ───────────────────────────────────────────────────────── */

.confirmation-wrap {
  text-align: center;
  padding: 40px 20px;
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(92,184,92,0.1);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: checkmarkPop 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkmarkPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.checkmark-circle svg {
  width: 40px;
  height: 40px;
  color: var(--success);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: checkmarkDraw 500ms 200ms ease forwards;
}

@keyframes checkmarkDraw {
  to { stroke-dashoffset: 0; }
}

.cancel-link-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
}

/* ─── Admin Layout ───────────────────────────────────────────────────────── */

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  transition: transform 300ms ease;
}

.sidebar-logo {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.sidebar-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: var(--muted-lt);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
  min-height: 44px;
}

.sidebar-nav-item:hover {
  background: rgba(255,255,255,0.03);
  color: var(--cream);
}

.sidebar-nav-item.active {
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  border-left-color: var(--gold);
}

.sidebar-nav-item .nav-icon { width: 18px; text-align: center; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
}

.admin-topbar {
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-page-title { font-size: 1rem; font-weight: 600; color: var(--cream); }

.admin-content { padding: 24px; }

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
}

/* ─── Stats Cards ────────────────────────────────────────────────────────── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}

.stat-value.gold { color: var(--gold-lt); }

.stat-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ─── Chart ──────────────────────────────────────────────────────────────── */

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 8px 0;
}

.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.bar {
  width: 100%;
  background: rgba(201,168,76,0.3);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 500ms ease;
  position: relative;
}
.bar:hover { background: var(--gold); }

.bar-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
}

/* ─── Data Table ─────────────────────────────────────────────────────────── */

.data-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--surface2);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table tr { cursor: pointer; transition: background var(--transition); }

/* ─── Filters ────────────────────────────────────────────────────────────── */

.filters-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filters-bar input,
.filters-bar select {
  min-width: 150px;
  width: auto;
}

/* ─── Modal ──────────────────────────────────────────────────────────────── */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 200ms;
}

.modal-backdrop.open { opacity: 1; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 200ms;
}

.modal-backdrop.open .modal { transform: scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--cream);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.modal-close:hover { color: var(--cream); border-color: var(--muted); }

.modal-body { padding: 24px; }
.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

/* ─── Timeline (Heute) ───────────────────────────────────────────────────── */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.timeline-item:hover { border-color: rgba(201,168,76,0.3); }

.timeline-time {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  min-width: 52px;
  padding-top: 2px;
}

.timeline-info { flex: 1; }
.timeline-name { font-size: 0.975rem; font-weight: 500; color: var(--cream); margin-bottom: 2px; }
.timeline-service { font-size: 0.825rem; color: var(--muted); }

.timeline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quick-btn {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.quick-btn:hover { background: rgba(255,255,255,0.05); border-color: var(--muted); }
.quick-btn.done:hover { background: rgba(92,184,92,0.1); border-color: var(--success); }
.quick-btn.noshow:hover { background: rgba(224,85,85,0.1); border-color: var(--danger); }

/* ─── Subscription cards (abos.html) ────────────────────────────────────── */

.plans-header {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.category-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 0 20px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-lt);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 36px;
}

.filter-btn.active {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn:hover { border-color: rgba(201,168,76,0.4); color: var(--cream); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(201,168,76,0.3);
}

.plan-card.popular-plan {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.15);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-badge.popular-badge { background: var(--gold); color: var(--bg); }
.plan-badge.savings-badge {
  right: 28px;
  left: auto;
  background: rgba(92,184,92,0.15);
  color: #7dd87d;
  border: 1px solid rgba(92,184,92,0.3);
}

.plan-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 6px;
}

.plan-name { font-family: var(--font-serif); font-size: 1.7rem; color: var(--cream); margin-bottom: 8px; }
.plan-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }

.plan-price-wrap { margin-bottom: 24px; }
.plan-price-amount { font-size: 2.5rem; font-weight: 700; color: var(--gold-lt); line-height: 1; }
.plan-price-interval { font-size: 0.875rem; color: var(--muted); }
.plan-sessions { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted-lt);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Login form ─────────────────────────────────────────────────────────── */

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, rgba(201,168,76,0.06) 0%, var(--bg) 60%);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .logo-text { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); letter-spacing: 4px; }
.login-logo .logo-sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 2px; display: block; margin-top: 2px; }

.login-error {
  background: rgba(224,85,85,0.1);
  border: 1px solid rgba(224,85,85,0.3);
  color: #ff8888;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: none;
}
.login-error.visible { display: block; }

/* ─── Pagination ─────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-lt);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 700; }
.page-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── Toast notification ─────────────────────────────────────────────────── */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toastIn 250ms ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--gold); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
