/* ============================================================================
   MB ACADÉMIE — MEMBER AREA STYLES
   ============================================================================
   Modern, responsive member area. Dark theme matching admin.
   ============================================================================ */

:root {
  /* Aligné sur le header public (.header = 80px) pour une hauteur identique
     sur l'ensemble du site. */
  --navbar-height: 80px;
  --max-content: 1200px;
  /* Light mode (default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #526278;
  --primary: #2454ce;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37,99,235,0.08);
  --success: #059669;
  --warning: #d97706;
  --danger: #b91c1c;
  --info: #2563eb;
  --hover-overlay: rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 16px;
}

/* ── Dark Mode ───────────────────────────────────────────────────── */

[data-theme="dark"] {
  --bg-primary: #0c1222;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --border: rgba(255, 255, 255, 0.07);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #a2afc2;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: rgba(59,130,246,0.12);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --hover-overlay: rgba(255, 255, 255, 0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
  --radius: 12px;
  --radius-lg: 16px;
}

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

.member-layout {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg-primary);
  color: var(--text);
  font-family: var(--font-body);
}

.member-content {
  padding: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
}

/* ── Navbar (Glassmorphism) ──────────────────────────────────────── */

.member-navbar {
  height: var(--navbar-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

[data-theme="dark"] .member-navbar {
  background: rgba(17,24,39,0.85);
}

.member-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.member-navbar-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.member-navbar-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.member-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.member-nav-link {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 44px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.member-nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.member-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #f97316);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2), 0 2px 6px rgba(249,115,22,0.15);
}

.member-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.member-nav-link:hover svg { opacity: 1; }
.member-nav-link.active svg { opacity: 1; color: #fff; }

.member-nav-badge {
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.member-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  background: rgba(249, 115, 22, 0.08);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.member-logout-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  color: #ea580c;
}

/* Mobile nav toggle */
.member-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

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

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.member-card:hover {
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .member-card:hover {
  box-shadow: var(--shadow-md);
}

.member-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.member-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Stats Grid ──────────────────────────────────────────────────── */

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

.member-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.member-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}

.member-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.12);
}

.member-stat-card:hover::before {
  background: linear-gradient(90deg, #2563eb, #f97316);
}

[data-theme="dark"] .member-stat-card:hover {
  box-shadow: var(--shadow-lg);
}

.member-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.member-stat-icon svg {
  width: 22px;
  height: 22px;
}

.member-stat-icon.blue { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #2563eb; }
.member-stat-icon.green { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #059669; }
.member-stat-icon.amber { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #f97316; }
.member-stat-icon.purple { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #2563eb; }

[data-theme="dark"] .member-stat-icon.blue { color: #60a5fa; }
[data-theme="dark"] .member-stat-icon.green { color: #34d399; }
[data-theme="dark"] .member-stat-icon.amber { color: #fb923c; }
[data-theme="dark"] .member-stat-icon.purple { color: #60a5fa; }

.member-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.member-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.member-stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Welcome Banner ─────────────────────────────────────────────── */

.member-welcome-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 35%, #2563eb 65%, #f97316 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(37,99,235,0.18), 0 4px 16px rgba(249,115,22,0.1);
}

.member-welcome-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(249,115,22,0.12);
  border-radius: 50%;
}

.member-welcome-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 80px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.member-welcome-info { flex: 1; position: relative; z-index: 1; }

.member-welcome-greeting {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.member-welcome-sub {
  font-size: 14px;
  opacity: 0.8;
}

.member-welcome-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.member-welcome-actions .member-btn {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.member-welcome-actions .member-btn:hover {
  background: rgba(255,255,255,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ── Next Appointment Card (enhanced) ───────────────────────────── */

.member-next-appt {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-next-appt:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.member-next-appt-bar {
  width: 5px;
  flex-shrink: 0;
}

.member-next-appt-bar.confirmed { background: var(--success); }
.member-next-appt-bar.pending { background: var(--warning); }

.member-next-appt-body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.member-next-appt-info { flex: 1; min-width: 200px; }

.member-next-appt-service {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.member-next-appt-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.member-next-appt-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  vertical-align: -2px;
  margin-right: 4px;
}

.member-next-appt-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  margin-top: 10px;
}

.member-next-appt-countdown svg {
  width: 14px;
  height: 14px;
}

/* ── Quick Actions Grid ─────────────────────────────────────────── */

.member-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.member-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.member-quick-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  border-color: rgba(37,99,235,0.2);
}

[data-theme="dark"] .member-quick-action:hover {
  box-shadow: var(--shadow-lg);
}

.member-quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-quick-action-icon svg {
  width: 22px;
  height: 22px;
}

.member-quick-action-icon.blue { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #2563eb; }
.member-quick-action-icon.green { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #2563eb; }
.member-quick-action-icon.amber { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #f97316; }
.member-quick-action-icon.purple { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: #2563eb; }

[data-theme="dark"] .member-quick-action-icon.blue { color: #60a5fa; }
[data-theme="dark"] .member-quick-action-icon.green { color: #60a5fa; }
[data-theme="dark"] .member-quick-action-icon.amber { color: #fb923c; }
[data-theme="dark"] .member-quick-action-icon.purple { color: #60a5fa; }

/* ── Notification Items ─────────────────────────────────────────── */

.member-notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.member-notif-item:hover {
  background: var(--hover-overlay);
}

.member-notif-item:last-child { border-bottom: none; }

.member-notif-item.unread {
  font-weight: 500;
  background: var(--primary-light);
}

.member-notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.member-notif-icon svg {
  width: 16px;
  height: 16px;
}

.member-notif-icon.blue { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.08)); color: #2563eb; }
.member-notif-icon.green { background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(16,185,129,0.12)); color: #059669; }
.member-notif-icon.amber { background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(37,99,235,0.08)); color: #f97316; }
.member-notif-icon.red { background: rgba(239,68,68,0.1); color: #dc2626; }

[data-theme="dark"] .member-notif-icon.blue { color: #60a5fa; }
[data-theme="dark"] .member-notif-icon.green { color: #34d399; }
[data-theme="dark"] .member-notif-icon.amber { color: #fb923c; }
[data-theme="dark"] .member-notif-icon.red { color: #f87171; }

.member-notif-content { flex: 1; min-width: 0; }

.member-notif-title {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.member-notif-body {
  font-size: 13px;
  color: var(--text-muted);
}

.member-notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Back to site link ──────────────────────────────────────────── */

.member-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.member-back-link:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(37,99,235,0.2);
}

.member-back-link svg {
  width: 16px;
  height: 16px;
}

/* ── Buttons ──────────────────────────────────────────────────────── */

.member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.member-btn-primary {
  background: linear-gradient(135deg, #2454ce, #c2410c);
  color: white;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25), 0 2px 6px rgba(249,115,22,0.15);
}

.member-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #9a3412);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35), 0 4px 10px rgba(249,115,22,0.2);
  transform: translateY(-1px);
}

.member-btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.member-btn-secondary:hover {
  background: var(--hover-overlay);
  color: var(--text);
  border-color: rgba(37,99,235,0.2);
}

.member-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.15);
}

.member-btn-danger:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239,68,68,0.3);
}
[data-theme="dark"] .member-btn-danger { color:#fca5a5; }
[data-theme="dark"] .member-tab.active { color:#93b8ff; }
.member-layout .rdv-cal-hint { color:var(--text-secondary); }
.member-layout :is(input,textarea)::placeholder { color:var(--text-muted); opacity:1; }

/* ── Booking Wizard ──────────────────────────────────────────────── */

.booking-wizard {
  max-width: 700px;
  margin: 0 auto;
}

.booking-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.booking-progress-step {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.booking-progress-step.completed {
  background: linear-gradient(90deg, #2563eb, #f97316);
}

.booking-progress-step.active {
  background: linear-gradient(90deg, #2563eb, #f97316);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.3), 0 0 10px rgba(249,115,22,0.2);
}

.booking-step-panel {
  display: none;
  animation: fadeSlide 0.35s ease;
}

.booking-step-panel.active {
  display: block;
}

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

.booking-step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Service cards (Step 1) */
.booking-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.booking-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.booking-service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
  transform: translateY(-2px);
}

.booking-service-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary), 0 4px 16px rgba(37,99,235,0.15);
}

.booking-service-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.booking-service-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.booking-service-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.booking-service-price {
  font-weight: 600;
  color: var(--primary);
}

/* Date/time (Step 2) */
.booking-date-time {
  display: grid;
  gap: 24px;
}

.booking-date-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.booking-date-cell {
  padding: 12px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.booking-date-cell:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.booking-date-cell.selected {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.booking-date-cell.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

.booking-time-slot {
  padding: 10px 14px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.booking-time-slot:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.booking-time-slot.selected {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.booking-time-slot.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Step 3 - Additional info */
.booking-form-group {
  margin-bottom: 16px;
}

.booking-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.booking-form-input,
.booking-form-textarea,
.booking-form-select {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.booking-form-input:focus,
.booking-form-textarea:focus,
.booking-form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: var(--bg-card);
}

.booking-coupon-row {
  display: flex;
  gap: 8px;
}

.booking-coupon-row input {
  flex: 1;
}

.booking-price-recap {
  margin-top: 24px;
  padding: 22px;
  background: var(--primary-light);
  border-radius: var(--radius);
  border: 1px solid rgba(37,99,235,0.1);
}

.booking-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.booking-price-row.total {
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Step 4 - Confirmation */
.booking-recap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.booking-recap-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.booking-recap-row strong {
  color: var(--text);
}

/* Step 5 - Success */
.booking-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(16,185,129,0.15);
  animation: fadeIn 0.5s ease;
}

.booking-calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.booking-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.booking-calendar-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ── Appointment Cards ────────────────────────────────────────────── */

.member-appointment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.member-appointment-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.member-appointment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.member-appointment-service {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.member-appointment-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.member-appointment-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.member-appointment-status.pending { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.member-appointment-status.confirmed { background: rgba(16, 185, 129, 0.15); color: #059669; }
.member-appointment-status.completed { background: rgba(107, 114, 128, 0.2); color: #6b7280; }
.member-appointment-status.cancelled { background: rgba(239, 68, 68, 0.15); color: #dc2626; }

[data-theme="dark"] .member-appointment-status.pending { color: #fbbf24; }
[data-theme="dark"] .member-appointment-status.confirmed { color: #34d399; }
[data-theme="dark"] .member-appointment-status.completed { color: #9ca3af; }
[data-theme="dark"] .member-appointment-status.cancelled { color: #f87171; }

.member-appointment-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Profile Form ─────────────────────────────────────────────────── */

.member-profile-form .member-form-group {
  margin-bottom: 20px;
}

.member-profile-form .member-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.member-profile-form .member-form-input,
.member-profile-form .member-form-textarea {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.member-profile-form .member-form-input:focus,
.member-profile-form .member-form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: var(--bg-card);
}

.member-profile-form .member-form-input:read-only {
  opacity: 0.7;
  cursor: not-allowed;
}

.member-profile-section {
  margin-bottom: 32px;
}

.member-profile-section-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.member-avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.member-avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: white;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}

.member-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Messages ─────────────────────────────────────────────────────── */

.member-messages-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--navbar-height) - 48px);
  min-height: calc(100svh - var(--navbar-height) - 48px);
  background: var(--bg-primary);
}

.member-conversations-panel {
  min-width: 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.member-conversations-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.member-conversation-list {
  flex: 1;
  overflow-y: auto;
}

.member-conversation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-conversation-item:hover {
  background: var(--primary-light);
}

.member-conversation-item.active {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  box-shadow: inset 0 0 12px rgba(37,99,235,0.05);
}

.member-conversation-item.unread {
  font-weight: 500;
}

.member-conversation-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.member-conversation-preview {
  flex: 1;
  min-width: 0;
}

.member-conversation-subject {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-conversation-date {
  font-size: 12px;
  color: var(--text-muted);
}

.member-thread-panel {
  display: flex;
  flex-direction: column;
}

.member-thread-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.member-thread-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.member-message-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.member-message-bubble.sent {
  margin-left: auto;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}

.member-message-bubble.received {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
}

.member-message-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.member-compose-form {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.member-messages-back { align-self: flex-start; margin: 12px 16px; }
.member-conversation-excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--text-muted); margin: 5px 0; }
.member-conversation-avatar { color: #fff; }
.member-thread-panel { min-width: 0; }
.member-message-bubble { overflow-wrap: anywhere; }
.member-message-bubble.sent .member-message-time { color: #e0eaff; }
.member-message-notice { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 24px; background: var(--primary-light); border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: 14px; line-height: 1.6; }
.member-message-notice > span { flex: 1 1 220px; }
.member-message-notice > button { border: 0; background: transparent; color: inherit; font-size: 24px; min-width: 44px; min-height: 44px; cursor: pointer; }
.member-messages-layout :is(button,a,textarea,[role=button]):focus-visible { outline: 3px solid #f97316; outline-offset: -3px; }
@media(min-width:769px) { .member-messages-back { display: none; } }

/* ── Empty States ─────────────────────────────────────────────────── */

.member-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.member-empty p {
  font-size: 14px;
  margin-top: 12px;
}

/* ── Tabs ──────────────────────────────────────────────────────────── */

.member-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.member-tabs::-webkit-scrollbar { display: none; }

.member-tab {
  padding: 12px 22px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.member-tab:hover {
  color: var(--text);
}

.member-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-light);
  border-radius: 8px 8px 0 0;
}

.member-tab-panel {
  display: none;
}

.member-tab-panel.active {
  display: block;
}

/* ── Loading ──────────────────────────────────────────────────────── */

.member-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.member-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Wizard Navigation ─────────────────────────────────────────────── */

.booking-wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Theme Toggle ─────────────────────────────────────────────────── */

.member-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--hover-overlay);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.member-theme-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(37,99,235,0.2);
}

.member-theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.member-theme-toggle .icon-sun {
  position: absolute;
  opacity: 1;
  transform: rotate(0) scale(1);
}

.member-theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .member-theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .member-theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Default (light) logout button */
.member-logout-btn {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.2);
}

.member-logout-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  color: #b91c1c;
}

[data-theme="dark"] .member-logout-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .member-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

/* Default (light) navbar shadow */
.member-navbar {
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

[data-theme="dark"] .member-navbar {
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Default (light) message bubble */
.member-message-bubble.received {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="dark"] .member-message-bubble.received {
  background: var(--bg-card);
  border-color: var(--border);
}

/* Default (light) booking success icon */
.booking-success-icon {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

[data-theme="dark"] .booking-success-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

/* Mobile nav shadow handled in responsive section */

/* Smooth transition for theme change */
.member-layout,
.member-navbar,
.member-card,
.member-stat-card,
.member-appointment-card,
.member-btn,
.member-nav-link,
.member-theme-toggle,
.member-logout-btn,
.booking-form-input,
.booking-form-textarea,
.booking-form-select,
.member-profile-form .member-form-input,
.member-profile-form .member-form-textarea {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Responsive ────────────────────────────────────────────────────── */

/* Desktop: 769px - 1024px */
@media (max-width: 1024px) {
  .member-messages-layout {
    grid-template-columns: 280px 1fr;
  }
}

/* Keep the expanded member navigation readable on smaller laptops. */
@media (min-width:769px) and (max-width:1280px) {
  .member-nav-links { display:none; }
  .member-nav-toggle { display:flex; }
  .member-nav-links.open { display:flex; flex-direction:column; position:absolute; top:var(--navbar-height); left:0; right:0; padding:16px; gap:4px; background:var(--bg-secondary); border-bottom:1px solid var(--border); max-height:calc(100svh - var(--navbar-height)); overflow-y:auto; }
}
/* Tablet: 481px - 768px */
@media (max-width: 768px) {
  .member-nav-links {
    display: none;
  }

  .member-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    max-height: calc(100svh - var(--navbar-height));
    overflow-y: auto;
  }

  [data-theme="dark"] .member-nav-links.open {
    background: rgba(17,24,39,0.95);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .member-nav-toggle {
    display: flex;
  }

  /* Hide logout text and back link text on tablet, icon only */
  .member-logout-btn span,
  .member-back-link span {
    display: none;
  }
  .member-logout-btn,
  .member-back-link {
    padding: 8px 10px;
  }

  .member-content {
    padding: 16px;
  }

  .member-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-services-grid {
    grid-template-columns: 1fr;
  }

  .booking-date-picker {
    grid-template-columns: repeat(7, 1fr);
  }

  .member-appointment-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-appointment-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .member-messages-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-conversations-panel {
    display: flex;
  }
  .member-thread-panel,
  .member-thread-open .member-conversations-panel {
    display: none;
  }
  .member-thread-open .member-thread-panel { display: flex; }

  .member-card {
    padding: 20px;
  }

  .member-stat-card {
    padding: 16px;
  }

  .member-empty {
    padding: 32px 16px;
  }

  .member-welcome-banner {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .member-welcome-greeting {
    font-size: 18px;
  }

  .member-welcome-actions {
    justify-content: center;
  }

  .member-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-next-appt-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-message-bubble {
    max-width: 85%;
  }

  .member-loading {
    padding: 32px;
  }

  .booking-recap-card {
    padding: 20px;
  }
}

/* Mobile: < 480px */
@media (max-width: 480px) {
  .member-stats-grid {
    grid-template-columns: 1fr;
  }

  .member-stat-value {
    font-size: 20px;
  }

  .booking-wizard-nav {
    flex-direction: column;
    gap: 12px;
  }

  .booking-wizard-nav .member-btn {
    width: 100%;
  }

  .member-content {
    padding: 12px;
  }

  .member-card {
    padding: 16px;
    border-radius: 10px;
  }

  .member-card-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .member-welcome-banner {
    padding: 16px;
  }

  .member-welcome-greeting {
    font-size: 16px;
  }

  .member-welcome-actions {
    flex-direction: column;
    width: 100%;
  }

  .member-welcome-actions .member-btn {
    width: 100%;
    justify-content: center;
  }

  .member-quick-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .booking-date-picker {
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
  }

  .booking-date-cell {
    padding: 8px 4px;
    font-size: 12px;
  }

  .member-tab {
    padding: 10px 14px;
    font-size: 13px;
  }

  .member-navbar {
    padding: 0 10px;
    gap: 8px;
  }

  .member-navbar-brand img {
    width: 32px;
    height: 32px;
  }

  .member-navbar-brand span {
    font-size: 14px;
  }

  .member-nav-right {
    gap: 6px;
  }

  .member-logout-btn {
    padding: 6px 8px;
  }

  .member-logout-btn span {
    display: none;
  }

  .member-theme-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
  }

  .member-appointment-actions .member-btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  .booking-step-title {
    font-size: 1.3rem;
  }

  .member-profile-section {
    margin-bottom: 24px;
  }

  .member-avatar-upload {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .member-message-bubble {
    max-width: 90%;
  }

  .member-compose-form {
    padding: 12px;
  }

  /* Force inline 1fr 1fr grids to single column on small screens */
  .member-profile-form [style*="grid-template-columns: 1fr 1fr"],
  .member-profile-form [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .member-quick-action {
    padding: 16px 10px;
    gap: 8px;
    font-size: 12px;
  }

  .member-quick-action-icon {
    width: 38px;
    height: 38px;
  }
}

/* ── Ultra-small mobile : < 390px ─────────────────────────────── */
@media (max-width: 390px) {
  .member-navbar {
    padding: 0 8px;
  }

  .member-content {
    padding: 10px;
  }

  .member-card {
    padding: 14px;
    border-radius: 8px;
  }

  .member-welcome-banner {
    padding: 14px;
    border-radius: 12px;
  }

  .member-welcome-greeting {
    font-size: 15px;
  }

  .member-stat-card {
    padding: 14px;
  }

  .member-stat-value {
    font-size: 18px;
  }

  .member-quick-actions {
    gap: 6px;
  }

  .booking-date-cell {
    padding: 6px 2px;
    font-size: 11px;
  }

  .booking-step-title {
    font-size: 1.1rem;
  }
}

/* ── Card entrance animations ────────────────────────────────────── */

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

.member-stat-card,
.member-card,
.member-appointment-card,
.member-quick-action {
  animation: fadeIn 0.4s ease backwards;
}

.member-stat-card:nth-child(1) { animation-delay: 0.05s; }
.member-stat-card:nth-child(2) { animation-delay: 0.1s; }
.member-stat-card:nth-child(3) { animation-delay: 0.15s; }
.member-stat-card:nth-child(4) { animation-delay: 0.2s; }

/* ── Custom scrollbar ─────────────────────────────────────────── */

.member-content::-webkit-scrollbar,
.member-thread-messages::-webkit-scrollbar,
.member-conversation-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.member-content::-webkit-scrollbar-thumb,
.member-thread-messages::-webkit-scrollbar-thumb,
.member-conversation-list::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,0.3);
  border-radius: 3px;
}

.member-content::-webkit-scrollbar-thumb:hover,
.member-thread-messages::-webkit-scrollbar-thumb:hover,
.member-conversation-list::-webkit-scrollbar-thumb:hover {
  background: rgba(148,163,184,0.5);
}

/* ── Dashboard Inline Booking Form ──────────────────────────── */

.dash-booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.dash-booking-col {
  min-width: 0;
}

.dash-booking-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.dash-booking-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card, var(--white));
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.dash-booking-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

#dashboardBookingCard .rdv-calendar {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .dash-booking-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================================
   MEMBER REVIEWS
   ============================================================================ */

/* Star rating input */
.review-stars-input {
  display: flex;
  gap: 4px;
}

.review-star {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--border, #d1d5db);
  transition: color 0.15s, transform 0.15s;
  padding: 2px;
  line-height: 1;
}

.review-star:hover {
  transform: scale(1.15);
}

.review-star.hovered,
.review-star.active {
  color: #f59e0b;
}

.review-star.active {
  text-shadow: 0 1px 4px rgba(245, 158, 11, 0.3);
}

/* Review cards list */
.review-card {
  padding: 16px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--bg-card, #fff);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.review-card:hover {
  border-color: var(--primary, #2563eb);
}

[data-theme="dark"] .review-card {
  background: var(--member-card-bg, #1e293b);
  border-color: var(--member-border, #334155);
}

[data-theme="dark"] .review-card:hover {
  border-color: var(--primary, #3b82f6);
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.review-card-service {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary, #111);
}

.review-card-date {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  margin-top: 2px;
}

.review-card-stars {
  font-size: 16px;
  letter-spacing: 1px;
}

.review-card-stars .star.filled {
  color: #f59e0b;
}

.review-card-stars .star.empty {
  color: var(--border, #d1d5db);
}

.review-card-comment {
  font-size: 14px;
  color: var(--text-secondary, #6b7280);
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-card-details {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-card-details .star.filled {
  color: #f59e0b;
  font-size: 13px;
}

.review-card-details .star.empty {
  color: var(--border, #d1d5db);
  font-size: 13px;
}

.review-card-anonymous {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  font-style: italic;
  margin-bottom: 6px;
}

/* Status badges */
.review-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.review-status-badge.orange {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.review-status-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.review-status-badge.red {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

[data-theme="dark"] .review-status-badge.orange {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

[data-theme="dark"] .review-status-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

[data-theme="dark"] .review-status-badge.red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Admin response */
.review-admin-response {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.05);
  border-left: 3px solid var(--primary, #2563eb);
}

[data-theme="dark"] .review-admin-response {
  background: rgba(37, 99, 235, 0.1);
}

.review-admin-response-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #2563eb);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-admin-response p {
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  line-height: 1.5;
  margin: 0;
}

/* Rejection reason */
.review-rejection-reason {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.06);
  font-size: 13px;
  color: #dc2626;
}

[data-theme="dark"] .review-rejection-reason {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

/* Form styles */
.member-review-form-card .member-form-group {
  margin-bottom: 16px;
}

.member-review-form-card .member-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #111);
  margin-bottom: 6px;
}

.member-review-form-card .member-form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}
.member-review-form-card textarea.member-form-input { min-height: 120px; resize: vertical; }
.member-workspace .member-review-form-card select.member-form-input {
  padding-right: 48px;
  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='%23f97316' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.member-review-form-card .member-form-hint { color: var(--text-secondary); line-height: 1.7; margin-top: 8px; }
.member-required { color: #ea580c; font-weight: 700; }
[data-theme=dark] .member-required { color: #fb923c; }
#retryReviewServices[hidden] { display: none; }

.member-form-hint {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  margin-top: 4px;
}

/* Empty state */
.member-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-secondary, #6b7280);
  font-size: 14px;
}

.member-legal-footer {
  text-align: center;
  padding: 16px 24px 24px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted, #9ca3af);
}

.member-legal-footer p {
  margin: 0;
}

.member-empty svg {
  display: block;
  margin: 0 auto 8px;
}
/* The training notice uses existing card styles and stays absent without a dossier. */
#trainingNotice[hidden]{display:none}

/* Shared member workspace: blue actions, orange attention, semantic statuses. */
.member-workspace {
  --bg-primary: #f4f6fa;
  --bg-secondary: #fff;
  --bg-card: #fff;
  --border: #dce3ee;
  --text: #17253d;
  --text-primary: var(--text);
  --member-text: var(--text);
  --text-secondary: #4b5e79;
  --text-muted: #586b85;
  --primary: #2454ce;
  --primary-light: #edf2ff;
  --success: #08794f;
  --warning: #a9510c;
  --danger: #b42318;
  --member-accent: #c2410c;
  --shadow-card: 0 3px 16px rgba(23,37,61,.025);
  background: var(--bg-primary);
  color: var(--text);
}
[data-theme="dark"] .member-workspace {
  color-scheme: dark;
  --bg-primary: #0e1622;
  --bg-secondary: #141e2d;
  --bg-card: #1a2636;
  --border: #304157;
  --text: #edf2fa;
  --text-secondary: #c1cede;
  --text-muted: #a6b7cd;
  --primary: #9ab9ff;
  --primary-light: #243754;
  --success: #65dfac;
  --warning: #ffbf75;
  --danger: #ffa8a0;
  --member-accent: #ffb074;
  --shadow-card: none;
}
.member-workspace .member-navbar { height: 76px; padding: 0 24px; gap: 20px; background: var(--bg-secondary); box-shadow: none; backdrop-filter: none; }
.member-workspace .member-navbar-brand { flex-shrink: 0; }
.member-workspace .member-navbar-brand img { background: #fff; padding: 3px; }
.member-workspace .member-navbar-brand span { font-size: 16px; }
.member-workspace .member-nav-links { gap: 3px; min-width: 0; }
.member-workspace .member-nav-link { padding: 10px 11px; font-size: 13px; }
.member-workspace .member-nav-link.active { color: var(--primary); background: var(--primary-light); box-shadow: none; }
.member-workspace .member-nav-link.active svg { color: inherit; }
.member-workspace .member-nav-right { gap: 6px; }
.member-workspace .member-logout-btn { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.member-workspace .member-logout-btn:hover { color: var(--danger); background: var(--bg-primary); }
.member-workspace .member-back-link { min-width: 44px; min-height: 44px; justify-content: center; }
.member-workspace .member-back-link span { display: none; }
.member-workspace .member-content { width: 100%; max-width: 1160px; padding: 36px 28px 64px; }
.member-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.member-page-heading > .member-eyebrow, .member-page-heading > h1, .member-page-heading > p { width: 100%; }
.member-page-heading h1, .member-workspace .training-toolbar h1 { margin: 5px 0 10px; color: var(--text); font-size: clamp(25px,3vw,34px); line-height: 1.18; letter-spacing: -1px; }
.member-page-heading p { margin: 0; max-width: 720px; color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.member-eyebrow { display: block; color: var(--primary); font-size: 10px; font-weight: 750; letter-spacing: 1.5px; text-transform: uppercase; }
.member-workspace .member-card { border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); }
.member-workspace .member-card:hover { transform: none; box-shadow: var(--shadow-card); }
.member-workspace .member-card-title { color: var(--text); font-size: 17px; letter-spacing: -.3px; }
.member-workspace .member-welcome-banner { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--primary); color: var(--text); border-radius: 14px; box-shadow: none; text-align: left; padding: 24px; }
.member-workspace .member-welcome-greeting { color: var(--text); font-size: 21px; }
.member-workspace .member-welcome-banner::before, .member-workspace .member-welcome-banner::after { display: none; }
.member-workspace .member-welcome-sub { color: var(--text-secondary); opacity: 1; }
.member-workspace .member-welcome-actions { gap: 8px; }
.member-workspace .member-btn { min-height: 44px; padding: 11px 16px; background: #2454ce; color: #fff; border: 1px solid transparent; box-shadow: none; font-size: 13px; line-height: 1.4; white-space: normal; text-align: center; }
.member-workspace .member-btn:hover { background: #1d43a4; transform: none; box-shadow: none; }
.member-workspace .member-btn-secondary { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
.member-workspace .member-btn-secondary:hover { background: var(--primary-light); color: var(--primary); }
.member-workspace .member-btn-danger { color: var(--danger); background: var(--bg-card); border-color: var(--border); }
.member-workspace .member-btn-danger:hover { background: var(--bg-primary); border-color: var(--danger); }
.member-workspace :is(button,input,select,textarea,a) { -webkit-tap-highlight-color: transparent; }
.member-workspace :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--member-accent); outline-offset: 3px; }
.member-workspace button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.member-workspace :is(.member-stat-card,.member-quick-action):hover { transform: none; box-shadow: none; }
.member-workspace .member-stat-card { border: 1px solid var(--border); padding: 20px; border-radius: 14px; gap: 14px; }
.member-workspace .member-stat-label { color: var(--text-secondary); font-size: 12px; }
.member-workspace .member-stat-value { font-size: 29px; color: var(--text); }
.member-workspace :is(.member-stat-icon,.member-quick-action-icon) { background: var(--primary-light); color: var(--primary); }
.member-workspace .member-stat-icon.green { color: var(--success); }
.member-workspace .member-stat-icon.amber { color: var(--warning); }
.member-workspace .member-quick-action { min-height: 100px; border-radius: 12px; color: var(--text); }
.member-workspace .member-quick-action:hover { background: var(--primary-light); }
.member-workspace .member-tabs { gap: 8px; background: transparent; border-bottom: 1px solid var(--border); padding: 0; border-radius: 0; overflow-x: auto; }
.member-workspace .member-tab { flex-shrink: 0; min-height: 46px; padding: 12px 20px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--text-secondary); }
.member-workspace .member-tab.active { background: transparent; border-color: var(--primary); color: var(--primary); box-shadow: none; }
.member-workspace .member-appointment-status.pending { color: var(--warning); }
.member-workspace .member-appointment-status.confirmed { color: var(--success); }
.member-workspace .member-appointment-status.cancelled { color: var(--danger); }
.member-workspace .member-next-appt { background: var(--bg-card); }
.member-workspace .member-next-appt-service { color: var(--text); }
.member-workspace .member-profile-section-title { font-size: 16px; color: var(--text); border-color: var(--border); }
.member-workspace :is(.member-form-input,.member-form-textarea,.booking-form-input,.booking-form-textarea) { min-height: 46px; color: var(--text); background: var(--bg-secondary); border-color: var(--border); box-shadow: none; }
.member-workspace .member-form-input[readonly] { opacity: 1 !important; color: var(--text-muted); background: var(--bg-primary); }
.member-workspace input[type="checkbox"] { accent-color: #2454ce; min-width: 20px; min-height: 20px; }
.member-required { color: var(--member-accent); }
.member-workspace .member-training-notice { margin-bottom: 24px; border-left: 4px solid var(--member-accent); background: var(--bg-card); }
.member-training-notice a { display: inline-block; color: var(--primary); font-weight: 650; padding-block: 10px; }
.member-dialog-open { overflow: hidden; }
.member-workspace #cancelModal .member-card > div { flex-wrap: wrap; }
.member-workspace #cancelModal .member-btn { flex: 1 1 140px; }
.member-profile-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); box-shadow: var(--shadow-md); }
.member-workspace #accountAgeNotice { color: var(--warning) !important; }
.member-workspace .member-messages-layout { min-height: 560px; height: calc(100dvh - 260px); max-height: 850px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.member-workspace :is(.member-conversations-panel,.member-thread-panel,#threadView,#composeView) { min-height: 0; }
.member-workspace :is(.member-conversation-list,.member-thread-messages,#composeForm) { overscroll-behavior: contain; overflow-y: auto; }
.member-workspace .member-message-bubble.sent { background: #2454ce; box-shadow: none; }
.member-workspace .member-message-bubble.received { color: var(--text); background: var(--bg-primary); }
.member-workspace .member-conversation-avatar { background: #2454ce; }
.member-workspace #conversationPager { padding: 12px; font-size: 12px; color: var(--text-secondary); }
.member-workspace #conversationPager .member-btn { background: var(--bg-secondary); color: var(--text-secondary); border-color: var(--border); margin: 0 4px 8px 0; }
.member-workspace #conversationPager:has(button:first-child:disabled):has(button:nth-child(2):disabled) { display: none; }
.member-workspace .rdv-calendar { border-color: var(--border); background: var(--bg-secondary); }
.member-workspace .rdv-calendar-header { background: #2454ce; color: #fff; }
.member-workspace .rdv-cal-day { color: var(--text); }
.member-workspace .rdv-cal-day.rdv-cal-disabled, .member-workspace .rdv-cal-day.rdv-cal-weekend { color: var(--text-muted); opacity: .5; background: transparent; }
.member-workspace .rdv-cal-day.rdv-cal-selected { background: #2454ce; color: #fff; opacity: 1; }
.member-workspace .rdv-slot-btn { border-color: var(--border); background: var(--bg-secondary); color: var(--text); }
.member-workspace .rdv-slot-btn.selected { background: #2454ce; color: #fff; }
.member-workspace .member-message-notice { color: var(--text); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; padding: 16px; }
.member-workspace .member-appointment-actions { gap: 8px; }
.member-workspace .member-pagination { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 13px; }
.member-workspace .member-pagination p { margin-right: auto; }
.member-workspace .training-toolbar { padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.member-workspace .training-workflow { --training-accent: var(--primary); }
.member-workspace .training-panel { box-shadow: none; border-radius: 14px; }
.member-skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 12px 20px; background: #2454ce; color: #fff; border-radius: 10px; }
.member-skip-link:focus { top: 12px; }
@media (max-width:1280px) {
  .member-workspace { --navbar-height: 68px; }
  .member-workspace .member-navbar { height: 68px; gap: 12px; padding: 0 20px; }
  .member-workspace .member-nav-toggle { display: flex; order: -1; flex-shrink: 0; }
  .member-workspace .member-navbar-brand { margin-right: auto; }
  .member-workspace .member-nav-links.open { position: fixed; top: 68px; bottom: 0; max-height: none; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); justify-content: flex-start; align-items: stretch; background: var(--bg-secondary); gap: 8px; box-shadow: none; backdrop-filter: none; }
  .member-workspace .member-nav-link { min-height: 50px; padding: 14px 16px; font-size: 15px; }
  .member-workspace .member-nav-link.active { border-left: 3px solid var(--primary); }
  .member-menu-open { overflow: hidden; }
}
@media (max-width:768px) {
  .member-workspace .member-content { padding: 24px 16px 40px; }
  .member-workspace .member-navbar { padding: 0 12px; gap: 6px; }
  .member-workspace .member-nav-right { gap: 4px; }
  .member-workspace .member-logout-btn { width: 44px; padding: 10px; justify-content: center; }
  .member-workspace .member-logout-btn span { display: none; }
  .member-workspace .member-navbar-brand span { font-size: 14px; }
  .member-page-heading { margin-bottom: 24px; gap: 8px; }
  .member-page-heading > .member-btn { margin-top: 8px; width: 100%; }
  .member-page-heading h1 { font-size: 28px; }
  .member-workspace .member-welcome-banner { align-items: stretch; padding: 20px; }
  .member-workspace .member-welcome-actions { justify-content: flex-start; }
  .member-workspace .member-welcome-actions .member-btn { flex: 0 0 auto; min-height: 46px; }
  .member-workspace .member-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
  .member-workspace .member-stat-card { padding: 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .member-workspace .member-stat-icon { width: 32px; height: 32px; }
  .member-workspace .member-card { padding: 18px; }
  .member-workspace .member-card-header { flex-wrap: wrap; gap: 12px; }
  .member-workspace .member-card-title { font-size: 16px; }
  .member-workspace .member-messages-layout { min-height: 500px; height: calc(100dvh - 245px); grid-template-columns: minmax(0,1fr); }
  .member-workspace .member-thread-messages { padding: 14px; }
  .member-workspace .member-message-bubble { max-width: 92%; }
  .member-workspace :is(.member-form-input,.member-form-textarea,.booking-form-input,.booking-form-textarea,.training-form input,.training-form textarea) { font-size: 16px; }
  .member-workspace .member-profile-form [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: minmax(0,1fr) !important; }
  .member-workspace .member-profile-savebar { bottom: calc(8px + env(safe-area-inset-bottom)); padding: 12px; }
  .member-workspace .member-profile-savebar .member-btn { width: 100%; }
  .member-workspace .member-appointment-actions .member-btn { flex: 1 1 130px; }
  .member-workspace #cancelModal .member-card { width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
  .member-workspace .member-pagination p { flex-basis: 100%; }
  .member-workspace .member-pagination .member-btn { flex: 1; }
}
@media (max-width:390px) {
  .member-workspace .member-navbar-brand span { display: none; }
  .member-workspace .member-navbar-brand img { width: 32px; height: 32px; }
  .member-workspace .member-content { padding-inline: 12px; }
  .member-workspace .member-tab { padding-inline: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  .member-workspace *, .member-workspace *::before, .member-workspace *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Appointment requests and follow-up, shared on desktop and mobile. */
.member-workspace .booking-purpose{max-width:680px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.member-workspace .booking-purpose select{width:100%;min-height:48px;font-size:16px}
.member-workspace .booking-purpose p{font-size:13px;line-height:1.7;color:var(--text-secondary);margin-top:10px}
.member-workspace .booking-purpose a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.member-workspace .member-tabs{gap:8px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--bg-secondary);width:fit-content;margin-bottom:24px}
.member-workspace .member-tab{display:flex;align-items:center;gap:9px;border:0;border-radius:8px;min-height:44px;padding:10px 18px;color:var(--text-secondary)}
.member-workspace .member-tab.active{background:var(--bg-tertiary);color:var(--primary);border:0;box-shadow:none}
.member-tab-count{font-size:11px;min-width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:var(--bg-primary);font-variant-numeric:tabular-nums;color:var(--text-secondary)}
.member-workspace .member-appointment-card{padding:26px;border-radius:14px;border:1px solid var(--border);box-shadow:none;background:var(--bg-secondary)}
.member-workspace .member-appointment-header{align-items:flex-start;gap:20px;margin-bottom:18px}
.member-appointment-identity{display:flex;align-items:center;gap:18px;min-width:0}
.member-date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:66px;min-height:76px;border:1px solid var(--border);border-radius:12px;background:var(--bg-primary);color:var(--primary)}
.member-date-tile strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}
.member-date-tile span{font-size:12px;text-transform:uppercase;line-height:1.8}
.member-workspace .member-appointment-service{font-size:19px;line-height:1.4;margin:0 0 5px;color:var(--text-primary)}
.member-workspace .member-appointment-date{font-size:14px;margin:0 0 4px;line-height:1.6}
.member-appointment-time{margin:0;font-size:14px;font-weight:600;color:var(--text-primary)}
.member-appointment-time span{font-weight:400;color:var(--text-secondary)}
.member-appointment-note{font-size:13px;line-height:1.7;padding:13px 16px;background:var(--bg-primary);border-radius:8px;color:var(--text-secondary);margin:0 0 16px}
.member-workspace .member-appointment-actions{padding-top:16px;border-top:1px solid var(--border);margin-top:16px;align-items:flex-start;justify-content:space-between}
.member-calendar-menu{font-size:13px;min-width:0}
.member-calendar-menu summary{display:flex;align-items:center;gap:20px;padding:10px 14px;border:1px solid var(--border);border-radius:8px;min-height:44px;cursor:pointer;color:var(--text-primary);list-style:none;font-weight:600}
.member-calendar-menu summary::-webkit-details-marker{display:none}
.member-calendar-menu summary span{color:var(--accent-text,#b45309);font-size:20px}
.member-calendar-menu>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}
.member-appointment-help{font-size:12px;line-height:1.6;color:var(--text-secondary);margin-top:12px}
.member-workspace .member-appointments-empty{padding:50px 24px;border:1px dashed var(--border);border-radius:14px;background:var(--bg-secondary)}
.member-empty-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 18px;background:var(--bg-primary);border:1px solid var(--border);border-radius:14px;font-size:24px;color:var(--primary)}
@media(max-width:600px){.member-workspace .member-tabs{width:100%;gap:2px}.member-workspace .member-tab{flex:1;justify-content:center;font-size:13px;padding:10px 5px;gap:5px}.member-workspace .member-appointment-card{padding:18px}.member-workspace .member-appointment-header{flex-direction:column;gap:14px}.member-appointment-identity{gap:12px}.member-date-tile{width:55px;min-height:65px}.member-workspace .member-appointment-service{font-size:17px}.member-appointment-actions>*{width:100%}.member-workspace .member-appointment-actions .member-btn{flex:initial}.member-calendar-menu summary{justify-content:space-between}.member-workspace .member-appointments-empty{padding:34px 20px}}
