/* ============================================
   COCOONING SPA — Admin Dashboard
   Design System: Ultra-Premium Dark Luxury
   Référence: Aman Resorts, Four Seasons, Molitor, Bulgari Hotels
   Version: 3.0 — Portfolio-Grade
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --csp-dark: #080f1e;
  --csp-dark-lighter: #0c1a33;
  --csp-dark-card: #0e1e3a;
  --csp-dark-surface: #0b1730;
  --csp-gold: #c9a84c;
  --csp-gold-light: #e6c97a;
  --csp-gold-dark: #a68b3a;
  --csp-gold-glow: rgba(201,168,76,0.18);
  --csp-text: #ece8df;
  --csp-text-muted: #7a8ba3;
  --csp-text-dim: #4a5d78;
  --csp-success: #4ade80;
  --csp-danger: #f87171;
  --csp-warning: #fbbf24;
  --csp-info: #60a5fa;
  --csp-border: rgba(201,168,76,0.10);
  --csp-border-strong: rgba(201,168,76,0.22);
  --csp-radius: 14px;
  --csp-radius-sm: 10px;
  --csp-radius-xs: 6px;
  --csp-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
  --csp-shadow-lg: 0 16px 56px rgba(0,0,0,0.4), 0 6px 20px rgba(0,0,0,0.25);
  --csp-shadow-gold: 0 4px 24px rgba(201,168,76,0.12), 0 0 40px rgba(201,168,76,0.06);
  --csp-transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --csp-transition-fast: all 0.2s cubic-bezier(0.4,0,0.2,1);
  --csp-glass: rgba(14,30,58,0.72);
  --csp-glass-strong: rgba(14,30,58,0.88);
  --csp-glass-border: rgba(201,168,76,0.06);
}

/* ============================================
   RESET & BASE
   ============================================ */
.csp-admin-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--csp-dark);
  min-height: 100vh;
  color: var(--csp-text);
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.csp-admin-wrap * {
  box-sizing: border-box;
}

/* ============================================
   LOGIN PAGE — Premium Glassmorphism
   ============================================ */
.csp-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(96,165,250,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.03) 0%, transparent 40%),
    linear-gradient(160deg, #050b16 0%, #080f1e 40%, #0c1a33 100%);
  padding: 2rem;
}

.csp-login-card {
  background: var(--csp-glass-strong);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  border: 1px solid var(--csp-border-strong);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--csp-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.csp-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(201,168,76,0.4) 50%, transparent 90%);
}

.csp-login-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.1), transparent);
}

.csp-login-logo {
  max-width: 200px;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 4px 16px rgba(201,168,76,0.25));
  animation: csp-logo-float 6s ease-in-out infinite;
}

@keyframes csp-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.csp-login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--csp-gold);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.csp-login-subtitle {
  font-size: 0.85rem;
  color: var(--csp-text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ============================================
   FORM ELEMENTS — Premium
   ============================================ */
.csp-input-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.csp-input-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--csp-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.csp-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(8,15,30,0.7);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius-sm);
  color: var(--csp-text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--csp-transition);
  outline: none;
}

.csp-input:focus {
  border-color: var(--csp-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08), 0 0 24px rgba(201,168,76,0.06);
  background: rgba(8,15,30,0.9);
}

.csp-input:hover:not(:focus) {
  border-color: rgba(201,168,76,0.18);
}

.csp-input::placeholder {
  color: var(--csp-text-dim);
}

.csp-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

select.csp-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237a8ba3'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

textarea.csp-input {
  resize: vertical;
  min-height: 80px;
}

/* ============================================
   BUTTONS — Premium with depth & glow
   ============================================ */
.csp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--csp-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--csp-transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.csp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.csp-btn:hover::after {
  opacity: 1;
}

.csp-btn:active {
  transform: scale(0.97);
}

.csp-btn-primary {
  background: linear-gradient(135deg, var(--csp-gold) 0%, var(--csp-gold-dark) 100%);
  color: var(--csp-dark);
  box-shadow: 0 2px 8px rgba(201,168,76,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.csp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--csp-shadow-gold), 0 8px 32px rgba(201,168,76,0.25);
}

.csp-btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 4px rgba(201,168,76,0.2);
}

.csp-btn-secondary {
  background: rgba(14,30,58,0.8);
  color: var(--csp-text);
  border: 1px solid var(--csp-border);
}

.csp-btn-secondary:hover {
  border-color: var(--csp-gold);
  color: var(--csp-gold);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 20px rgba(201,168,76,0.06);
}

.csp-btn-danger {
  background: rgba(248,113,113,0.06);
  color: var(--csp-danger);
  border: 1px solid rgba(248,113,113,0.15);
}

.csp-btn-danger:hover {
  background: rgba(248,113,113,0.12);
  border-color: rgba(248,113,113,0.35);
  box-shadow: 0 0 20px rgba(248,113,113,0.08);
}

.csp-btn-success {
  background: rgba(74,222,128,0.06);
  color: var(--csp-success);
  border: 1px solid rgba(74,222,128,0.15);
}

.csp-btn-success:hover {
  background: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.35);
  box-shadow: 0 0 20px rgba(74,222,128,0.08);
}

.csp-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  border-radius: var(--csp-radius-xs);
}

.csp-btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   DASHBOARD LAYOUT — Premium
   ============================================ */
.csp-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.csp-sidebar {
  background:
    linear-gradient(180deg, rgba(14,30,58,0.98) 0%, rgba(8,15,30,0.98) 100%);
  border-right: 1px solid var(--csp-border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.csp-sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(201,168,76,0.25), transparent 30%, transparent 70%, rgba(201,168,76,0.15));
}

.csp-sidebar-logo {
  text-align: center;
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--csp-border);
  margin-bottom: 1.5rem;
}

.csp-sidebar-logo img {
  margin: 0 auto 0.5rem;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(201,168,76,0.2));
}

.csp-sidebar-logo h2 {
  font-size: 1rem;
  color: var(--csp-gold);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.csp-sidebar-logo p {
  font-size: 0.62rem;
  color: var(--csp-text-dim);
  margin: 0.25rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.csp-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.csp-nav-item {
  margin: 0.1rem 0.6rem;
}

.csp-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: var(--csp-radius-xs);
  color: var(--csp-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--csp-transition);
  position: relative;
  border-left: 3px solid transparent;
}

.csp-nav-item a:hover {
  background: rgba(201,168,76,0.04);
  color: var(--csp-text);
  border-left-color: rgba(201,168,76,0.15);
}

.csp-nav-item.active a {
  background: linear-gradient(90deg, rgba(201,168,76,0.1), rgba(201,168,76,0.02));
  color: var(--csp-gold);
  border-left-color: var(--csp-gold);
  font-weight: 600;
  box-shadow: inset 0 0 20px rgba(201,168,76,0.03);
}

.csp-nav-item .badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--csp-gold), var(--csp-gold-dark));
  color: var(--csp-dark);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(201,168,76,0.3);
}

/* Main content */
.csp-main {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 70% 5%, rgba(201,168,76,0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(96,165,250,0.015) 0%, transparent 40%),
    var(--csp-dark);
}

.csp-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.csp-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--csp-text);
  letter-spacing: -0.02em;
}

.csp-page-subtitle {
  font-size: 0.78rem;
  color: var(--csp-text-muted);
  margin-top: 0.2rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ============================================
   STATS CARDS — Premium Glassmorphism
   ============================================ */
.csp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.csp-stat-card {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 1.1rem 1.3rem;
  transition: var(--csp-transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.csp-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(201,168,76,0.2) 50%, transparent 85%);
}

.csp-stat-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.5s;
  opacity: 0;
}

.csp-stat-card:hover {
  border-color: var(--csp-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--csp-shadow-gold);
}

.csp-stat-card:hover::after {
  opacity: 1;
}

.csp-stat-label {
  font-size: 0.62rem;
  color: var(--csp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.csp-stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--csp-gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.csp-stat-value.success { color: var(--csp-success); }
.csp-stat-value.warning { color: var(--csp-warning); }
.csp-stat-value.danger { color: var(--csp-danger); }

/* ============================================
   GUIDEBOARD LAYOUT — Premium 2-Column Agenda
   ============================================ */
.csp-guideboard-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Calendar compact for guideboard */
.csp-guideboard-calendar {
  position: sticky;
  top: 1rem;
  max-width: 320px;
}

.csp-guideboard-calendar .csp-calendar {
  padding: 1rem;
  margin-bottom: 0;
}

.csp-guideboard-calendar .csp-calendar-day {
  aspect-ratio: 1;
  font-size: 0.72rem;
  border-radius: var(--csp-radius-xs);
}

.csp-guideboard-calendar .csp-calendar-day-header {
  font-size: 0.58rem;
  padding: 0.3rem 0;
}

.csp-guideboard-calendar .csp-cal-count {
  width: 14px;
  height: 14px;
  font-size: 0.5rem;
  bottom: 1px;
  right: 1px;
}

.csp-guideboard-legend {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 1rem 0;
  justify-content: center;
}

.csp-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: var(--csp-text-muted);
}

.csp-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.csp-legend-dot-gold {
  background: var(--csp-gold);
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
}

.csp-legend-dot-today {
  background: transparent;
  border: 2px solid var(--csp-gold);
}

/* Agenda panel */
.csp-guideboard-agenda {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  overflow: hidden;
  min-height: 450px;
  position: relative;
}

.csp-guideboard-agenda::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(201,168,76,0.35) 50%, transparent 90%);
  z-index: 1;
}

.csp-guideboard-agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--csp-border);
  background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 100%);
}

.csp-guideboard-agenda-date {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--csp-text);
  letter-spacing: -0.01em;
}

.csp-guideboard-agenda-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.csp-guideboard-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--csp-border);
  background: rgba(8,15,30,0.6);
  color: var(--csp-gold);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--csp-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.csp-guideboard-nav-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--csp-gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.1);
  transform: scale(1.05);
}

.csp-guideboard-nav-btn:active {
  transform: scale(0.95);
}

.csp-guideboard-nav-today {
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--csp-border);
  background: rgba(8,15,30,0.6);
  color: var(--csp-text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--csp-transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.csp-guideboard-nav-today:hover {
  background: rgba(201,168,76,0.08);
  color: var(--csp-gold);
  border-color: var(--csp-gold);
}

.csp-guideboard-timeline {
  padding: 1.25rem;
}

/* Guideboard Summary — Premium bar */
.csp-guideboard-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius-sm);
  margin-bottom: 1.25rem;
}

.csp-guideboard-summary span {
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.csp-guideboard-summary-count { color: var(--csp-gold); }
.csp-guideboard-summary-persons { color: var(--csp-info); }
.csp-guideboard-summary-ca { color: var(--csp-success); margin-left: auto; }

/* Guideboard Items — Timeline */
.csp-guideboard-items {
  display: flex;
  flex-direction: column;
}

.csp-guideboard-item {
  display: flex;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--csp-transition-fast);
}

.csp-guideboard-item:hover .csp-guideboard-card {
  border-color: var(--guide-color, var(--csp-gold));
  box-shadow: 0 6px 24px rgba(0,0,0,0.25), 0 0 24px color-mix(in srgb, var(--guide-color, var(--csp-gold)) 8%, transparent);
  transform: translateX(3px);
}

.csp-guideboard-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.csp-guideboard-time {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--csp-text);
  white-space: nowrap;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.csp-guideboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
  position: relative;
  z-index: 1;
  animation: csp-pulse-dot 2.5s ease-in-out infinite;
}

@keyframes csp-pulse-dot {
  0%, 100% { box-shadow: 0 0 8px currentColor; }
  50% { box-shadow: 0 0 16px currentColor, 0 0 24px currentColor; }
}

.csp-guideboard-line {
  width: 2px;
  flex: 1;
  min-height: 16px;
  background: linear-gradient(180deg, var(--csp-border-strong), var(--csp-border));
  margin-top: -1px;
}

.csp-guideboard-card {
  flex: 1;
  background: var(--csp-dark-surface);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  transition: var(--csp-transition);
  position: relative;
  overflow: hidden;
}

.csp-guideboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--guide-color, var(--csp-gold));
  border-radius: 3px 0 0 3px;
}

.csp-guideboard-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--guide-color, var(--csp-gold)) 15%, transparent), transparent 60%);
  pointer-events: none;
}

.csp-guideboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.csp-guideboard-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.csp-guideboard-pay-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.csp-guideboard-pay-badge.paid {
  background: rgba(74,222,128,0.1);
  color: var(--csp-success);
  border: 1px solid rgba(74,222,128,0.2);
}

.csp-guideboard-pay-badge.partial {
  background: rgba(248,113,113,0.1);
  color: var(--csp-danger);
  border: 1px solid rgba(248,113,113,0.2);
}

.csp-guideboard-client {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.csp-guideboard-client-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--csp-text);
}

.csp-guideboard-client-persons {
  font-size: 0.68rem;
  color: var(--csp-text-muted);
  font-weight: 500;
}

.csp-guideboard-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.csp-guideboard-option-tag {
  font-size: 0.6rem;
  padding: 0.12rem 0.45rem;
  border-radius: 12px;
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--csp-border);
  color: var(--csp-text-muted);
}

.csp-guideboard-note {
  font-size: 0.68rem;
  color: var(--csp-text-dim);
  font-style: italic;
  margin-bottom: 0.4rem;
  padding: 0.3rem 0.5rem;
  background: rgba(201,168,76,0.03);
  border-radius: var(--csp-radius-xs);
  border-left: 2px solid var(--csp-border);
}

.csp-guideboard-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  border-top: 1px solid var(--csp-border);
}

.csp-guideboard-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--csp-gold);
}

.csp-guideboard-arrow {
  font-size: 0.62rem;
  color: var(--csp-text-dim);
  font-weight: 500;
  transition: all 0.25s;
}

.csp-guideboard-item:hover .csp-guideboard-arrow {
  color: var(--csp-gold);
  transform: translateX(2px);
}

/* Guideboard Empty State */
.csp-guideboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.csp-guideboard-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  opacity: 0.2;
  filter: grayscale(0.5);
}

.csp-guideboard-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--csp-text);
  margin-bottom: 0.25rem;
}

.csp-guideboard-empty-text {
  font-size: 0.75rem;
  color: var(--csp-text-muted);
  font-weight: 300;
}

/* Calendar count badge on days */
.csp-cal-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.5rem;
  font-weight: 700;
  background: var(--csp-gold);
  color: var(--csp-dark);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(201,168,76,0.5);
}

/* ============================================
   CALENDAR — Premium
   ============================================ */
.csp-calendar {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.csp-calendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(201,168,76,0.2) 50%, transparent 85%);
}

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

.csp-calendar-day-header {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--csp-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0;
}

.csp-calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--csp-radius-xs);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--csp-transition-fast);
  position: relative;
  border: 1px solid transparent;
}

.csp-calendar-day:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.12);
}

.csp-calendar-day.today {
  border-color: var(--csp-gold);
  background: rgba(201,168,76,0.05);
  box-shadow: inset 0 0 12px rgba(201,168,76,0.06), 0 0 8px rgba(201,168,76,0.08);
}

.csp-calendar-day.selected {
  background: linear-gradient(135deg, var(--csp-gold), var(--csp-gold-dark));
  color: var(--csp-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3), 0 0 20px rgba(201,168,76,0.1);
  border-color: transparent;
}

.csp-calendar-day.selected .csp-cal-count {
  background: var(--csp-dark);
  color: var(--csp-gold);
}

.csp-calendar-day.has-bookings::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--csp-gold);
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(201,168,76,0.6);
}

.csp-calendar-day.selected.has-bookings::after {
  background: var(--csp-dark);
  box-shadow: none;
}

.csp-calendar-day.blocked {
  background: rgba(248,113,113,0.06);
  color: var(--csp-danger);
  text-decoration: line-through;
}

.csp-calendar-day.past {
  opacity: 0.2;
  cursor: default;
}

/* ============================================
   BOOKING LIST — Premium
   ============================================ */
.csp-booking-list {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  overflow: hidden;
  position: relative;
}

.csp-booking-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(201,168,76,0.2) 50%, transparent 85%);
  z-index: 1;
}

.csp-booking-item {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--csp-border);
  transition: var(--csp-transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.csp-booking-item:last-child { border-bottom: none; }

.csp-booking-item:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.04), rgba(201,168,76,0.01));
  transform: translateX(2px);
}

.csp-booking-item .csp-booking-border {
  width: 4px;
  min-height: 100%;
  flex-shrink: 0;
}

.csp-booking-item .csp-booking-border.confirmed,
.csp-booking-item .csp-booking-border.accepted { background: linear-gradient(180deg, var(--csp-success), #22c55e); }
.csp-booking-item .csp-booking-border.pending { background: linear-gradient(180deg, var(--csp-warning), #f59e0b); }
.csp-booking-item .csp-booking-border.awaiting_payment { background: linear-gradient(180deg, var(--csp-info), #3b82f6); }
.csp-booking-item .csp-booking-border.refused { background: linear-gradient(180deg, var(--csp-danger), #ef4444); }
.csp-booking-item .csp-booking-border.custom_request { background: linear-gradient(180deg, var(--csp-gold), var(--csp-gold-dark)); }

.csp-booking-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 0.85rem 1.1rem;
  gap: 0.75rem;
}

.csp-booking-info {
  flex: 1;
  min-width: 0;
}

.csp-booking-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--csp-text);
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.csp-booking-info p {
  font-size: 0.7rem;
  color: var(--csp-text-muted);
  margin: 0;
}

.csp-booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.csp-booking-badge.confirmed,
.csp-booking-badge.accepted { background: rgba(74,222,128,0.08); color: #4ade80; border: 1px solid rgba(74,222,128,0.15); }
.csp-booking-badge.pending { background: rgba(251,191,36,0.08); color: #fbbf24; border: 1px solid rgba(251,191,36,0.15); }
.csp-booking-badge.awaiting_payment { background: rgba(96,165,250,0.08); color: #60a5fa; border: 1px solid rgba(96,165,250,0.15); }
.csp-booking-badge.refused { background: rgba(248,113,113,0.08); color: #f87171; border: 1px solid rgba(248,113,113,0.15); }
.csp-booking-badge.custom_request { background: rgba(201,168,76,0.08); color: var(--csp-gold); border: 1px solid rgba(201,168,76,0.15); }

.csp-booking-payment-indicator {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  margin-top: 0.25rem;
}

.csp-booking-payment-indicator .paid { color: var(--csp-success); font-weight: 600; }
.csp-booking-payment-indicator .unpaid { color: var(--csp-text-dim); }

.csp-booking-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.csp-booking-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--csp-gold);
}

.csp-booking-date {
  font-size: 0.68rem;
  color: var(--csp-text-muted);
  text-align: right;
  line-height: 1.3;
}

.csp-booking-section-header {
  padding: 0.5rem 1.1rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--csp-text-dim);
  background: rgba(201,168,76,0.03);
  border-bottom: 1px solid var(--csp-border);
}

/* ============================================
   DETAIL PANEL — Premium
   ============================================ */
.csp-detail-panel {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: var(--csp-radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--csp-transition);
}

.csp-detail-panel:hover {
  border-color: rgba(201,168,76,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 0 40px rgba(201,168,76,0.03);
}

.csp-detail-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(201,168,76,0.25) 30%, var(--csp-gold) 50%, rgba(201,168,76,0.25) 70%, transparent 95%);
}

.csp-detail-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(201,168,76,0.06);
}

.csp-detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.csp-detail-section h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--csp-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.csp-detail-section h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.2), transparent);
}

.csp-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: var(--csp-radius-xs);
  transition: var(--csp-transition-fast);
}

.csp-detail-row:hover {
  background: rgba(201,168,76,0.03);
}

.csp-detail-label {
  font-size: 0.73rem;
  color: var(--csp-text-muted);
  font-weight: 500;
}

.csp-detail-value {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--csp-text);
  text-align: right;
}

/* ============================================
   SLOTS VIEW — Premium
   ============================================ */
.csp-slots-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.csp-slot-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--csp-dark-surface);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius-sm);
  transition: var(--csp-transition-fast);
}

.csp-slot-item.available { border-left: 3px solid var(--csp-success); }
.csp-slot-item.booked { border-left: 3px solid var(--csp-danger); opacity: 0.7; }

.csp-slot-time {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--csp-text);
  min-width: 110px;
}

.csp-slot-type {
  font-size: 0.78rem;
  color: var(--csp-text-muted);
  flex: 1;
}

.csp-slot-actions {
  display: flex;
  gap: 0.4rem;
}

/* ============================================
   SETTINGS — Premium
   ============================================ */
.csp-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.csp-settings-card {
  background: var(--csp-glass);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.csp-settings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 20%, rgba(201,168,76,0.15) 50%, transparent 80%);
}

.csp-settings-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--csp-gold);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--csp-border);
}

/* Toggle switch — Premium */
.csp-toggle {
  position: relative;
  width: 42px;
  height: 22px;
  background: var(--csp-dark-surface);
  border: 1px solid var(--csp-border);
  border-radius: 11px;
  cursor: pointer;
  transition: var(--csp-transition);
}

.csp-toggle.active {
  background: linear-gradient(135deg, var(--csp-gold), var(--csp-gold-dark));
  border-color: var(--csp-gold);
  box-shadow: 0 0 14px rgba(201,168,76,0.3);
}

.csp-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--csp-text);
  transition: var(--csp-transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.csp-toggle.active::after {
  left: 22px;
  background: var(--csp-dark);
}

/* ============================================
   NOTIFICATIONS / TOASTS — Premium
   ============================================ */
.csp-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--csp-glass-strong);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 0.9rem 1.3rem;
  box-shadow: var(--csp-shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 9999;
  animation: csp-slide-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 0.82rem;
  max-width: 360px;
}

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

@keyframes csp-slide-in {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   LOADING & EMPTY STATES
   ============================================ */
.csp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.csp-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--csp-border);
  border-top-color: var(--csp-gold);
  border-radius: 50%;
  animation: csp-spin 0.7s linear infinite;
}

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

.csp-empty {
  text-align: center;
  padding: 3rem;
  color: var(--csp-text-muted);
}

.csp-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  opacity: 0.15;
}

.csp-empty p {
  font-size: 0.82rem;
  margin: 0;
  font-weight: 300;
}

/* ============================================
   PAYMENT SECTION — Premium
   ============================================ */
.csp-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.csp-payment-card {
  background: linear-gradient(145deg, var(--csp-dark-surface), rgba(14,30,58,0.5));
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: var(--csp-radius-sm);
  padding: 1rem 0.9rem;
  text-align: center;
  transition: var(--csp-transition-fast);
  position: relative;
  overflow: hidden;
}

.csp-payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.csp-payment-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 30px rgba(201,168,76,0.05);
  transform: translateY(-2px);
}

.csp-payment-card:hover::before {
  opacity: 1;
}

.csp-payment-card .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--csp-gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(201,168,76,0.15);
}

.csp-payment-card .label {
  font-size: 0.6rem;
  color: var(--csp-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  font-weight: 600;
}

.csp-payment-card.paid { border-color: rgba(74,222,128,0.15); }
.csp-payment-card.paid .amount { color: var(--csp-success); }
.csp-payment-card.pending { border-color: rgba(251,191,36,0.15); }
.csp-payment-card.pending .amount { color: var(--csp-warning); }

/* ============================================
   BOOKING DETAIL GRID — Premium responsive
   ============================================ */
.csp-booking-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  animation: cspFadeInUp 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* ============================================
   SLOTS CARDS — Premium
   ============================================ */
.csp-slots-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.csp-slots-toolbar .csp-slots-date-input {
  width: auto;
  padding: 0.45rem 0.7rem;
}

.csp-slot-card {
  background: var(--csp-dark-surface);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  transition: var(--csp-transition-fast);
}

.csp-slot-card:hover {
  border-color: var(--csp-border-strong);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.csp-slot-card.available { border-left: 3px solid var(--csp-success); }
.csp-slot-card.booked { border-left: 3px solid var(--csp-danger); opacity: 0.7; }

.csp-slot-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.csp-slot-card-header .csp-slot-time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--csp-text);
  white-space: nowrap;
}

.csp-slot-card-header .csp-slot-type {
  font-size: 0.78rem;
  color: var(--csp-text-muted);
  white-space: nowrap;
}

.csp-slot-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.csp-slot-status { font-size: 0.75rem; font-weight: 600; }
.csp-slot-status.status-available { color: var(--csp-success); }
.csp-slot-status.status-booked { color: var(--csp-danger); }

.csp-slot-toggle {
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: var(--csp-radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--csp-transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.csp-slot-toggle.toggle-available {
  background: rgba(74,222,128,0.08);
  color: var(--csp-success);
  border: 1px solid rgba(74,222,128,0.15);
}
.csp-slot-toggle.toggle-available:hover { background: rgba(74,222,128,0.15); }

.csp-slot-toggle.toggle-booked {
  background: rgba(248,113,113,0.08);
  color: var(--csp-danger);
  border: 1px solid rgba(248,113,113,0.15);
}
.csp-slot-toggle.toggle-booked:hover { background: rgba(248,113,113,0.15); }

.csp-slot-caution { font-size: 0.75rem; color: var(--csp-warning); }

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
#csp-menu-toggle {
  display: none;
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 999;
  width: 42px;
  height: 42px;
  border-radius: var(--csp-radius-sm);
  background: var(--csp-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--csp-border-strong);
  color: var(--csp-gold);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--csp-shadow);
  align-items: center;
  justify-content: center;
}

/* Site nav toggle */
#csp-site-nav-toggle {
  display: none;
}

/* Sidebar overlay on mobile */
.csp-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.csp-sidebar-overlay.show { display: block; }

/* Site nav menu */
.csp-site-nav-menu {
  display: none;
}

/* ============================================
   RESPONSIVE — Mobile-first Premium
   ============================================ */
@media (max-width: 1100px) {
  .csp-guideboard-layout {
    grid-template-columns: 1fr;
  }
  .csp-guideboard-calendar {
    position: static;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .csp-dashboard {
    grid-template-columns: 1fr;
  }
  .csp-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  .csp-sidebar.open {
    left: 0;
    box-shadow: 4px 0 40px rgba(0,0,0,0.5);
  }
  .csp-main {
    padding: 1.25rem;
    padding-top: 4rem;
  }
  #csp-menu-toggle { display: flex !important; }
  #csp-site-nav-toggle {
    display: flex;
    position: fixed;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 999;
    width: 42px;
    height: 42px;
    border-radius: var(--csp-radius-sm);
    background: var(--csp-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--csp-border);
    color: var(--csp-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--csp-shadow);
    align-items: center;
    justify-content: center;
  }
  .csp-site-nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 3.5rem;
    right: 0.8rem;
    background: var(--csp-glass-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--csp-border-strong);
    border-radius: var(--csp-radius);
    padding: 0.5rem;
    z-index: 998;
    box-shadow: var(--csp-shadow-lg);
    min-width: 180px;
  }
  .csp-site-nav-menu.open a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--csp-text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    border-radius: var(--csp-radius-xs);
    transition: var(--csp-transition-fast);
  }
  .csp-site-nav-menu.open a:hover {
    background: rgba(201,168,76,0.06);
    color: var(--csp-gold);
  }
  .csp-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-left: 3.5rem;
  }
  .csp-booking-detail-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .csp-slots-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }
  .csp-slots-toolbar .csp-slots-date-input {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .csp-main {
    padding: 1rem;
    padding-top: 3.5rem;
  }
  .csp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .csp-stat-card {
    padding: 0.9rem;
  }
  .csp-stat-value {
    font-size: 1.3rem;
  }
  .csp-stat-label {
    font-size: 0.58rem;
  }
  .csp-booking-date {
    display: none;
  }
  .csp-detail-panel {
    padding: 1.1rem !important;
    border-radius: var(--csp-radius-sm);
  }
  .csp-payment-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem;
  }
  .csp-payment-card {
    padding: 0.7rem 0.4rem;
  }
  .csp-payment-card .amount {
    font-size: 1.1rem;
  }
  .csp-payment-card .label {
    font-size: 0.55rem;
  }
  .csp-booking-detail-grid .csp-detail-section div[style*="display:flex"] {
    flex-direction: column;
  }
  .csp-booking-detail-grid .csp-detail-section div[style*="display:flex"] .csp-btn {
    width: 100%;
    justify-content: center;
  }
  .csp-guideboard-time-col {
    width: 56px;
  }
  .csp-guideboard-time {
    font-size: 0.62rem;
  }
  .csp-guideboard-card {
    padding: 0.75rem 0.9rem;
  }
  .csp-guideboard-client-name {
    font-size: 0.82rem;
  }
  .csp-guideboard-summary {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .csp-guideboard-agenda-header {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem;
  }
  .csp-guideboard-agenda-date {
    font-size: 0.9rem;
  }
  .csp-slot-card {
    padding: 0.75rem 0.9rem;
  }
  .csp-slot-card-header {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .csp-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .csp-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .csp-stat-card {
    padding: 0.7rem;
  }
  .csp-stat-value {
    font-size: 1.1rem;
  }
  .csp-stat-label {
    font-size: 0.55rem;
  }
  .csp-guideboard-time-col {
    width: 48px;
  }
  .csp-guideboard-dot {
    width: 10px;
    height: 10px;
  }
  .csp-page-header {
    padding-left: 3rem;
  }
}

/* ============================================
   ANIMATIONS — Premium micro-interactions
   ============================================ */
@keyframes csp-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes csp-fade-in-left {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes csp-glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(201,168,76,0.1); }
  50% { box-shadow: 0 0 20px rgba(201,168,76,0.15); }
}

.csp-guideboard-item {
  animation: csp-fade-in-left 0.45s cubic-bezier(0.4,0,0.2,1) both;
}

.csp-guideboard-item:nth-child(1) { animation-delay: 0.04s; }
.csp-guideboard-item:nth-child(2) { animation-delay: 0.08s; }
.csp-guideboard-item:nth-child(3) { animation-delay: 0.12s; }
.csp-guideboard-item:nth-child(4) { animation-delay: 0.16s; }
.csp-guideboard-item:nth-child(5) { animation-delay: 0.2s; }
.csp-guideboard-item:nth-child(6) { animation-delay: 0.24s; }

.csp-stat-card {
  animation: csp-fade-in 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.csp-stat-card:nth-child(1) { animation-delay: 0.03s; }
.csp-stat-card:nth-child(2) { animation-delay: 0.06s; }
.csp-stat-card:nth-child(3) { animation-delay: 0.09s; }
.csp-stat-card:nth-child(4) { animation-delay: 0.12s; }
.csp-stat-card:nth-child(5) { animation-delay: 0.15s; }

.csp-booking-item {
  animation: csp-fade-in 0.35s cubic-bezier(0.4,0,0.2,1) both;
}

.csp-slot-card {
  animation: csp-fade-in 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

/* Scrollbar — Premium */
.csp-main::-webkit-scrollbar {
  width: 6px;
}
.csp-main::-webkit-scrollbar-track {
  background: transparent;
}
.csp-main::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.15);
  border-radius: 3px;
}
.csp-main::-webkit-scrollbar-thumb:hover {
  background: rgba(201,168,76,0.25);
}

/* Selection */
.csp-admin-wrap ::selection {
  background: rgba(201,168,76,0.25);
  color: var(--csp-text);
}

/* ============================================
   SLOT CARDS — Premium
   ============================================ */
.csp-slot-card {
  background: linear-gradient(135deg, rgba(19,34,64,0.95), rgba(15,31,58,0.9));
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid #4ade80;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.csp-slot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
  pointer-events: none;
}
.csp-slot-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.csp-slot-card.csp-slot-custom {
  border-left-color: var(--csp-gold) !important;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(19,34,64,0.95));
}
.csp-slot-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.csp-slot-time {
  font-size: 1rem;
  font-weight: 700;
  color: #e8e4dc;
  letter-spacing: 0.02em;
}
.csp-slot-type {
  font-size: 0.78rem;
  color: #8a9bb5;
}
.csp-slot-custom-badge {
  font-size: 0.65rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.1));
  color: var(--csp-gold);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.3);
  font-weight: 600;
  letter-spacing: 0.03em;
  animation: csp-fade-in 0.5s ease;
}
.csp-slot-custom-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: rgba(201,168,76,0.06);
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.1);
}
.csp-slot-custom-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--csp-gold);
  font-family: 'Cormorant Garamond', serif;
}
.csp-slot-custom-desc {
  font-size: 0.7rem;
  color: #a0aec0;
  font-style: italic;
  line-height: 1.3;
}
.csp-slot-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.csp-slot-status-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.csp-slot-status-btn.available {
  border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.12);
  color: #4ade80;
}
.csp-slot-status-btn.available:hover {
  background: rgba(74,222,128,0.2);
  box-shadow: 0 0 8px rgba(74,222,128,0.2);
}
.csp-slot-status-btn.reserved {
  border: 1px solid rgba(248,113,113,0.3);
  background: rgba(248,113,113,0.12);
  color: #f87171;
}
.csp-slot-status-btn.reserved:hover {
  background: rgba(248,113,113,0.2);
  box-shadow: 0 0 8px rgba(248,113,113,0.2);
}
.csp-slot-action-btn {
  background: #0f1f3a;
  border: 1px solid rgba(201,168,76,0.15);
  color: #e8e4dc;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}
.csp-slot-action-btn:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.1);
  transform: scale(1.05);
}
.csp-slot-customize-btn {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-color: rgba(201,168,76,0.3);
}
.csp-slot-customize-btn:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.3), rgba(201,168,76,0.1));
  box-shadow: 0 0 12px rgba(201,168,76,0.2);
}
.csp-slot-delete-btn {
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
}
.csp-slot-delete-btn:hover {
  background: rgba(248,113,113,0.2);
  box-shadow: 0 0 8px rgba(248,113,113,0.2);
}

/* Toolbar Navigation Buttons */
.csp-slot-nav-btn {
  background: #132240;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--csp-gold);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.csp-slot-nav-btn:hover {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.5);
}
.csp-slot-today-btn {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--csp-gold);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.csp-slot-today-btn:hover {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.5);
}

/* Toolbar Action Buttons — Grouped */
.csp-toolbar-action-btn {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid;
  letter-spacing: 0.02em;
}
.csp-toolbar-add {
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.08));
  border-color: rgba(201,168,76,0.4);
  color: var(--csp-gold);
}
.csp-toolbar-add:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.35), rgba(201,168,76,0.15));
  box-shadow: 0 0 12px rgba(201,168,76,0.15);
  transform: translateY(-1px);
}
.csp-toolbar-block {
  background: rgba(248,113,113,0.08);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
}
.csp-toolbar-block:hover {
  background: rgba(248,113,113,0.15);
  box-shadow: 0 0 8px rgba(248,113,113,0.15);
}
.csp-toolbar-unblock {
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.3);
  color: #4ade80;
}
.csp-toolbar-unblock:hover {
  background: rgba(74,222,128,0.15);
  box-shadow: 0 0 8px rgba(74,222,128,0.15);
}
.csp-toolbar-absence {
  background: rgba(96,165,250,0.08);
  border-color: rgba(96,165,250,0.3);
  color: #60a5fa;
}
.csp-toolbar-absence:hover {
  background: rgba(96,165,250,0.15);
  box-shadow: 0 0 8px rgba(96,165,250,0.15);
}

/* ============================================
   MODAL PERSONNALISER — Premium Glassmorphism
   ============================================ */
.csp-payment-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: csp-modal-bg-in 0.3s ease;
}
.csp-payment-modal {
  background: linear-gradient(145deg, rgba(14,30,58,0.97), rgba(8,15,30,0.98));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.08);
  animation: csp-modal-in 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.csp-payment-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--csp-gold), transparent);
  border-radius: 18px 18px 0 0;
}
.csp-payment-modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--csp-gold);
  margin-bottom: 0.3rem;
  text-align: center;
}
.csp-payment-form-group {
  margin-bottom: 1.1rem;
}
.csp-payment-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--csp-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.csp-payment-input,
.csp-payment-modal input[type="text"],
.csp-payment-modal input[type="number"],
.csp-payment-modal input[type="email"],
.csp-payment-modal textarea,
.csp-payment-modal select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(8,15,30,0.8);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  color: var(--csp-text);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.csp-payment-modal input:focus,
.csp-payment-modal textarea:focus,
.csp-payment-modal select:focus {
  outline: none;
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 12px rgba(201,168,76,0.1);
}
.csp-payment-modal textarea {
  resize: vertical;
  min-height: 70px;
}
.csp-payment-hint {
  font-size: 0.62rem;
  color: var(--csp-text-dim);
  margin-top: 0.25rem;
  font-style: italic;
}
.csp-payment-submit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--csp-gold), var(--csp-gold-dark));
  color: #0a0f1e;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}
.csp-payment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.csp-payment-modal .csp-btn-secondary {
  width: 100%;
  padding: 0.7rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--csp-text-muted);
  border-radius: 10px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.4rem;
}
.csp-payment-modal .csp-btn-secondary:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--csp-gold);
}
.csp-payment-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--csp-text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.csp-payment-close:hover {
  background: rgba(248,113,113,0.15);
  color: #f87171;
}
.csp-payment-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 10;
}
.csp-payment-modal-close:hover {
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
  transform: rotate(90deg);
}
@keyframes csp-modal-bg-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes csp-modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================
   NOTIFICATION CARDS — Premium
   ============================================ */
.csp-notif-card {
  background: var(--csp-dark-surface);
  border: 1px solid var(--csp-border);
  border-left: 3px solid var(--csp-gold);
  border-radius: var(--csp-radius-sm);
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: var(--csp-transition);
  position: relative;
  overflow: hidden;
}
.csp-notif-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--csp-gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.csp-notif-card:hover {
  border-color: var(--csp-border-strong);
  transform: translateX(4px);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.csp-notif-card.unread {
  background: rgba(201,168,76,0.04);
  border-left-color: var(--csp-gold);
}
.csp-notif-card.payment {
  border-left-color: var(--csp-success);
}
.csp-notif-card.payment.unread {
  background: rgba(74,222,128,0.04);
}
.csp-notif-card.new-booking {
  border-left-color: var(--csp-info);
}
.csp-notif-card.new-booking.unread {
  background: rgba(96,165,250,0.04);
}
.csp-notif-card .notif-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.csp-notif-card .notif-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--csp-text);
  margin: 0;
}
.csp-notif-card .notif-time {
  font-size: 0.62rem;
  color: var(--csp-text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.csp-notif-card .notif-detail {
  font-size: 0.72rem;
  color: var(--csp-text-muted);
  margin: 0.2rem 0 0;
  line-height: 1.4;
}
.csp-notif-card .notif-badge-new {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--csp-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(201,168,76,0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================
   OPTION CARDS — Premium Grid
   ============================================ */
.csp-option-card {
  background: var(--csp-glass);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 1.1rem 1.3rem;
  transition: var(--csp-transition);
  position: relative;
  overflow: hidden;
}
.csp-option-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(201,168,76,0.2) 50%, transparent 90%);
}
.csp-option-card:hover {
  border-color: var(--csp-border-strong);
  background: rgba(201,168,76,0.04);
  transform: translateY(-2px);
  box-shadow: var(--csp-shadow);
}
.csp-option-card.inactive {
  opacity: 0.5;
}
.csp-option-card .option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--csp-text);
  margin: 0 0 0.3rem;
}
.csp-option-card .option-meta {
  font-size: 0.72rem;
  color: var(--csp-text-dim);
}
.csp-option-card .option-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--csp-gold);
}
.csp-option-card .option-price-type {
  font-size: 0.7rem;
  color: var(--csp-gold-light);
  opacity: 0.7;
}
.csp-option-card .option-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ============================================
   PERIOD CARDS — Premium
   ============================================ */
.csp-period-card {
  background: var(--csp-glass);
  border: 1px solid var(--csp-border);
  border-radius: var(--csp-radius);
  padding: 1.1rem 1.3rem;
  transition: var(--csp-transition);
  position: relative;
  overflow: hidden;
}
.csp-period-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--csp-gold), rgba(201,168,76,0.2));
}
.csp-period-card:hover {
  border-color: var(--csp-border-strong);
  background: rgba(201,168,76,0.04);
  transform: translateY(-2px);
  box-shadow: var(--csp-shadow);
}
.csp-period-card .period-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--csp-text);
  margin: 0 0 0.4rem;
}
.csp-period-card .period-badges {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.csp-period-card .period-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(201,168,76,0.12);
  color: var(--csp-gold);
}
.csp-period-card .period-badge.type {
  background: rgba(201,168,76,0.15);
  color: var(--csp-gold);
}
.csp-period-card .period-badge.pricing {
  background: rgba(255,255,255,0.05);
  color: var(--csp-text-muted);
}
.csp-period-card .period-badge.days {
  background: none;
  color: var(--csp-text-dim);
  padding: 0;
}
.csp-period-card .period-dates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.csp-period-card .period-date {
  font-size: 0.85rem;
  color: var(--csp-text);
  font-weight: 600;
}
.csp-period-card .period-arrow {
  color: var(--csp-gold);
  opacity: 0.5;
  font-size: 0.75rem;
}
.csp-period-card .period-delete {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.15);
  color: var(--csp-danger);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--csp-transition-fast);
  flex-shrink: 0;
}
.csp-period-card .period-delete:hover {
  background: rgba(248,113,113,0.18);
  border-color: rgba(248,113,113,0.35);
  transform: scale(1.1);
}

/* ============================================
   CATEGORY HEADERS — Premium
   ============================================ */
.csp-category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--csp-border);
}
.csp-category-header .cat-icon {
  font-size: 1.1rem;
}
.csp-category-header .cat-count {
  font-size: 0.65rem;
  background: rgba(201,168,76,0.15);
  color: var(--csp-gold);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================
   YEAR SEPARATOR — Premium
   ============================================ */
.csp-year-separator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.csp-year-separator .year-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--csp-gold);
  font-weight: 600;
}
.csp-year-separator .year-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.3), transparent);
}
.csp-year-separator .year-count {
  font-size: 0.65rem;
  color: var(--csp-text-dim);
}

/* ============================================
   HISTORY TABLE — Premium
   ============================================ */
.csp-history-table-wrap {
  overflow-x: auto;
  border-radius: var(--csp-radius-sm);
  border: 1px solid var(--csp-border);
  background: var(--csp-glass);
}
.csp-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.csp-history-table thead tr {
  background: rgba(201,168,76,0.06);
  border-bottom: 2px solid var(--csp-border);
}
.csp-history-table th {
  padding: 0.75rem 0.6rem;
  font-size: 0.68rem;
  text-align: left;
  color: var(--csp-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.csp-history-table td {
  padding: 0.65rem 0.6rem;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--csp-border);
  vertical-align: middle;
}
.csp-history-table tbody tr {
  transition: background 0.2s;
}
.csp-history-table tbody tr:hover {
  background: rgba(201,168,76,0.03);
}
.csp-history-table .td-client {
  font-weight: 600;
}
.csp-history-table .td-amount {
  font-weight: 600;
  color: var(--csp-gold);
}
.csp-history-table .td-received {
  color: var(--csp-success);
}
.csp-history-table .td-due {
  color: var(--csp-danger);
}
.csp-history-table .td-paid {
  color: var(--csp-success);
}

/* ============================================
   ACTION BUTTONS — Small Premium
   ============================================ */
.csp-action-btn-edit {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--csp-gold);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  transition: var(--csp-transition-fast);
}
.csp-action-btn-edit:hover {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-1px);
}
.csp-action-btn-delete {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.15);
  color: var(--csp-danger);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  transition: var(--csp-transition-fast);
}
.csp-action-btn-delete:hover {
  background: rgba(248,113,113,0.18);
  border-color: rgba(248,113,113,0.35);
  transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE MOBILE — Slots & Modal
   ============================================ */
@media (max-width: 768px) {
  .csp-slots-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 !important;
  }
  .csp-slots-toolbar > * {
    flex-shrink: 0;
  }
  .csp-slot-card {
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.5rem;
  }
  .csp-slot-header {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .csp-slot-time {
    font-size: 0.85rem;
  }
  .csp-slot-type {
    font-size: 0.7rem;
  }
  .csp-slot-custom-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.35rem 0.5rem;
  }
  .csp-slot-custom-price {
    font-size: 1rem;
  }
  .csp-slot-actions {
    gap: 0.3rem;
    flex-wrap: wrap;
  }
  .csp-slot-status-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
  }
  .csp-slot-action-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.68rem;
  }
  .csp-payment-modal {
    padding: 1.5rem 1.2rem;
    max-height: 85vh;
    margin: 0.5rem;
    border-radius: 14px;
  }
  .csp-payment-modal h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .csp-page-header h1 {
    font-size: 1.1rem !important;
    word-break: break-word;
  }
  .csp-slot-card {
    padding: 0.6rem 0.7rem;
  }
  .csp-slot-time {
    font-size: 0.78rem;
  }
  .csp-slot-actions {
    gap: 0.25rem;
  }
  .csp-slot-status-btn,
  .csp-slot-action-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.62rem;
  }
  .csp-payment-modal {
    padding: 1.2rem 1rem;
  }
}

/* ==================== PLANNER FULLPAGE ==================== */
.csp-planner-month-label {
    padding: 0.5rem 1.5rem;
    color: var(--csp-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.csp-planner-fullpage {
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.15);
    background: linear-gradient(180deg, rgba(10,22,40,0.95), rgba(10,22,40,0.8));
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(201,168,76,0.1);
}
.csp-planner-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
}
.csp-planner-day-header {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--csp-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.csp-planner-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 400px;
}
.csp-planner-cell {
    min-height: 140px;
    border-right: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 0.3rem 0.4rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.csp-planner-cell:hover {
    background: rgba(201,168,76,0.06);
    box-shadow: inset 0 0 20px rgba(201,168,76,0.05);
}
.csp-planner-cell:nth-child(7n) { border-right: none; }
.csp-planner-cell-empty {
    background: rgba(0,0,0,0.15);
    cursor: default;
}
.csp-planner-cell-empty:hover { background: rgba(0,0,0,0.15); box-shadow: none; }
.csp-planner-today {
    background: rgba(201,168,76,0.08) !important;
    box-shadow: inset 0 0 0 2px rgba(201,168,76,0.3);
}
.csp-planner-past { opacity: 0.55; }
.csp-planner-has-events::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--csp-gold), transparent);
    opacity: 0.5;
}
.csp-planner-day-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0.25rem 0.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}
.csp-planner-today .csp-planner-day-number {
    color: var(--csp-gold);
    font-size: 0.95rem;
}
.csp-planner-day-ca {
    font-size: 0.65rem;
    color: var(--csp-gold);
    font-weight: 700;
    background: rgba(201,168,76,0.12);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.csp-planner-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.csp-planner-event {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--ev-color) 15%, transparent);
    border-left: 2px solid var(--ev-color);
    font-size: 0.65rem;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
}
.csp-planner-event:hover {
    background: color-mix(in srgb, var(--ev-color) 25%, transparent);
    transform: translateX(1px);
}
.csp-planner-event-time {
    font-weight: 700;
    color: var(--ev-color);
    flex-shrink: 0;
}
.csp-planner-event-name {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}
.csp-planner-event-type {
    color: rgba(255,255,255,0.4);
    font-size: 0.6rem;
    flex-shrink: 0;
}
.csp-planner-event-more {
    font-size: 0.6rem;
    color: var(--csp-gold);
    padding: 1px 4px;
    font-weight: 600;
    cursor: pointer;
}
.csp-planner-week-ca-badge {
    position: absolute;
    bottom: 3px;
    right: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--csp-gold);
    background: rgba(201,168,76,0.12);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1;
}
.csp-planner-month-total {
    display: flex;
    justify-content: center;
    padding: 0.75rem;
    border-top: 1px solid rgba(201,168,76,0.15);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--csp-gold);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(201,168,76,0.02));
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
}
.csp-planner-legend {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== DAY DETAIL MODAL ==================== */
.csp-day-detail-panel {
    background: linear-gradient(145deg, rgba(10,22,40,0.98), rgba(15,30,55,0.98));
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 20px;
    padding: 2rem;
    max-width: 560px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.08);
    animation: cspModalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.csp-day-detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.csp-day-detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--csp-gold);
    font-weight: 600;
    margin: 0;
}
.csp-day-detail-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}
.csp-day-detail-stat {
    text-align: center;
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    min-width: 80px;
}
.csp-day-detail-stat-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}
.csp-day-detail-stat-ca .csp-day-detail-stat-value {
    color: var(--csp-gold);
}
.csp-day-detail-stat-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}
.csp-day-detail-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.csp-day-detail-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    border-left: 3px solid var(--item-color);
}
.csp-day-detail-item:hover {
    background: rgba(201,168,76,0.06);
    border-color: rgba(201,168,76,0.2);
    border-left-color: var(--item-color);
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.csp-day-detail-item-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--item-color);
    min-width: 90px;
    flex-shrink: 0;
    padding-top: 0.1rem;
}
.csp-day-detail-item-body { flex: 1; min-width: 0; }
.csp-day-detail-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.csp-day-detail-type-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}
.csp-day-detail-pay {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}
.csp-day-detail-pay.paid {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.3);
}
.csp-day-detail-pay.partial {
    background: rgba(234,179,8,0.15);
    color: #eab308;
    border: 1px solid rgba(234,179,8,0.3);
}
.csp-day-detail-item-client {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}
.csp-day-detail-client-name {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}
.csp-day-detail-client-info {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}
.csp-day-detail-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
}
.csp-day-detail-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--csp-gold);
}
.csp-day-detail-arrow {
    font-size: 0.75rem;
    color: rgba(201,168,76,0.6);
    transition: color 0.2s;
}
.csp-day-detail-item:hover .csp-day-detail-arrow { color: var(--csp-gold); }
.csp-day-detail-empty {
    text-align: center;
    padding: 2rem;
}

/* ==================== PLANNER RESPONSIVE ==================== */
@media (max-width: 768px) {
    .csp-planner-fullpage { overflow-x: hidden; }
    .csp-planner-grid { min-width: unset !important; width: 100%; }
    .csp-planner-header { min-width: unset !important; width: 100%; }
    .csp-planner-cell { min-height: 80px; padding: 0.15rem 0.2rem; }
    .csp-planner-day-number { font-size: 0.7rem; margin-bottom: 0.1rem; }
    .csp-planner-day-ca { font-size: 0.5rem; padding: 0.05rem 0.15rem; }
    .csp-planner-event { font-size: 0.6rem; padding: 1px 2px; gap: 2px; border-left-width: 2px; white-space: nowrap; overflow: hidden; }
    .csp-planner-event-time { font-size: 0.58rem; font-weight: 700; }
    .csp-planner-event-type { font-size: 0.5rem; opacity: 0.8; }
    .csp-planner-event-icons { font-size: 0.5rem; }
    .csp-planner-week-ca-badge { font-size: 0.45rem; padding: 0.05rem 0.2rem; bottom: 1px; right: 1px; }
    #csp-planner-today-btn { display: none !important; }
    .csp-planner-month-label { flex: 1; text-align: center; padding: 0.3rem 0 !important; font-size: 1.2rem; }
    .csp-planner-day-header { font-size: 0.6rem; padding: 0.4rem 0; letter-spacing: 0; }
    .csp-day-detail-panel { padding: 1.2rem; }
    .csp-day-detail-title { font-size: 1.2rem; }
    .csp-day-detail-summary { gap: 0.5rem; }
    .csp-day-detail-stat { padding: 0.5rem 0.6rem; min-width: 60px; }
    .csp-day-detail-stat-value { font-size: 1.2rem; }
    .csp-day-detail-item-time { min-width: 70px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .csp-planner-cell { min-height: 80px; padding: 0.1rem 0.15rem; }
    .csp-planner-day-number { font-size: 0.65rem; }
    .csp-planner-event { padding: 1px 1px; gap: 1px; border-left-width: 2px; }
    .csp-planner-event-time { font-size: 0.55rem; }
    .csp-planner-event-type { font-size: 0.45rem; }
    .csp-planner-event-icons { display: none; }
    .csp-planner-day-header { font-size: 0.55rem; padding: 0.3rem 0; }
    .csp-planner-week-ca-badge { font-size: 0.4rem; }
    .csp-day-detail-summary { flex-wrap: wrap; }
    .csp-planner-month-total { font-size: 0.9rem; padding: 0.5rem; }
}

/* ============================================
   MODAL OVERLAY — Generic (Gift Cards, Inclus, etc.)
   ============================================ */
.csp-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: csp-modal-bg-in 0.3s ease;
}
.csp-modal {
  background: linear-gradient(145deg, rgba(14,30,58,0.97), rgba(8,15,30,0.98));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 18px;
  padding: 0;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.08);
  animation: csp-modal-in 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.csp-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  border-radius: 18px 18px 0 0;
}
.csp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.csp-modal-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #c9a84c;
  margin: 0;
}
.csp-modal-close {
  background: none;
  border: 1px solid rgba(201,168,76,0.2);
  color: #c9a84c;
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.csp-modal-close:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.4);
}
.csp-modal-body {
  padding: 1.5rem;
}
.csp-modal-body .csp-form-group {
  margin-bottom: 1rem;
}
.csp-modal-body .csp-form-group label {
  display: block;
  color: rgba(200,200,210,0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.csp-modal-body .csp-form-group input,
.csp-modal-body .csp-form-group select,
.csp-modal-body .csp-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(10,20,40,0.6);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  color: #e8e0d4;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.csp-modal-body .csp-form-group input:focus,
.csp-modal-body .csp-form-group select:focus {
  outline: none;
  border-color: rgba(201,168,76,0.4);
}
.csp-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.csp-btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, #c9a84c, #a68b3b);
  border: none;
  border-radius: 8px;
  color: #0a1628;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s;
}
.csp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}
.csp-btn-secondary {
  padding: 10px 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  color: #c9a84c;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s;
}
.csp-btn-secondary:hover {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
}

/* ============================================
   ARCHIVES — complément léger du dashboard
   ============================================ */
.csp-archive-tab {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(218,224,234,.62);
  padding: .62rem .95rem;
  border-radius: 10px;
  font: 600 .76rem 'Inter', sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  transition: var(--csp-transition-fast);
}
.csp-archive-tab:hover {
  color: #f5ead0;
  background: rgba(255,255,255,.035);
}
.csp-archive-tab.active {
  color: #10203a;
  background: linear-gradient(135deg,#e5ce82,#b38c3e);
  border-color: rgba(245,226,165,.55);
  box-shadow: 0 4px 16px rgba(201,168,76,.22), inset 0 1px 0 rgba(255,255,255,.35);
}
.csp-archive-page {
  width: 33px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,.24);
  color: #e9d9a4;
  background: rgba(201,168,76,.07);
  cursor: pointer;
  transition: var(--csp-transition-fast);
}
.csp-archive-page:hover:not(:disabled) {
  background: rgba(201,168,76,.16);
  border-color: rgba(201,168,76,.5);
  transform: translateY(-1px);
}
.csp-archive-page:disabled {
  opacity: .34;
  cursor: not-allowed;
}
@media (max-width: 860px) {
  #csp-page-content > div[style*="grid-template-columns:minmax(180px,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  #csp-archive-search { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  #csp-page-content > div[style*="grid-template-columns:minmax(180px,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .csp-archive-tab { padding: .58rem .68rem; font-size: .7rem; }
}
