/* ═══════════════════════════════════════════════════════════════════════════
   VOLUNTEER SIGNUP SYSTEM - Refined Institutional Design
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS - LIGHT THEME (Default)
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Core palette */
  --slate-950: #0c1222;
  --slate-900: #141d32;
  --slate-800: #1e2a45;
  --slate-700: #334059;
  --slate-600: #4a5568;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #c4cdd9;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* Accent colors */
  --gold-500: #d4a03a;
  --gold-400: #e6b84d;
  --gold-300: #f0ce73;
  --gold-200: #fae5b0;
  --gold-100: #fdf5e3;

  /* Semantic */
  --success-600: #2d7a5e;
  --success-500: #3d9272;
  --success-100: #dcf5eb;
  --danger-600: #b83b3b;
  --danger-500: #dc4f4f;
  --danger-100: #fee8e8;
  --warning-600: #b45309;
  --warning-500: #d97706;
  --warning-100: #fef3c7;

  /* Surfaces */
  --bg-primary: #faf9f7;
  --bg-warm: #f5f3ef;
  --surface: #ffffff;
  --surface-elevated: #ffffff;

  /* Text */
  --text-primary: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-500);
  --text-inverse: #ffffff;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(20, 29, 50, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 29, 50, 0.06), 0 1px 3px rgba(20, 29, 50, 0.04);
  --shadow-lg: 0 12px 40px rgba(20, 29, 50, 0.08), 0 4px 12px rgba(20, 29, 50, 0.04);
  --shadow-xl: 0 24px 64px rgba(20, 29, 50, 0.12), 0 8px 24px rgba(20, 29, 50, 0.06);
  --shadow-gold: 0 8px 24px rgba(212, 160, 58, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(20, 29, 50, 0.04);

  /* Borders */
  --border-light: rgba(20, 29, 50, 0.06);
  --border-medium: rgba(20, 29, 50, 0.1);
  --border-focus: var(--gold-400);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Color scheme indicator */
  color-scheme: light;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DARK THEME
   ───────────────────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --slate-950: #f8fafc;
  --slate-900: #f1f5f9;
  --slate-800: #e2e8f0;
  --slate-700: #c4cdd9;
  --slate-600: #94a3b8;
  --slate-500: #64748b;
  --slate-400: #4a5568;
  --slate-300: #334059;
  --slate-200: #1e2a45;
  --slate-100: #141d32;
  --slate-50: #0c1222;

  --gold-500: #e6b84d;
  --gold-400: #f0ce73;
  --gold-300: #d4a03a;
  --gold-200: #8b6914;
  --gold-100: #3d2e0a;

  --success-600: #6ee7b7;
  --success-500: #34d399;
  --success-100: #064e3b;
  --danger-600: #fca5a5;
  --danger-500: #f87171;
  --danger-100: #7f1d1d;
  --warning-600: #fcd34d;
  --warning-500: #fbbf24;
  --warning-100: #78350f;

  --bg-primary: #0a0f1a;
  --bg-warm: #0f1729;
  --surface: #141d32;
  --surface-elevated: #1a2540;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0c1222;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 24px rgba(230, 184, 77, 0.15);

  --border-light: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);

  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  position: relative;
}

/* Decorative background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 420px;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(212, 160, 58, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(20, 29, 50, 0.04), transparent),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: -1;
  transition: background var(--duration-slow) ease;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(230, 184, 77, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(100, 116, 139, 0.08), transparent),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-primary) 100%);
}

/* Subtle grid pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--duration-slow) ease;
}

[data-theme="dark"] body::after {
  opacity: 0.3;
}

a {
  color: var(--slate-800);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--gold-500);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "DM Serif Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) 64px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(32px, 6vw, 56px) 0 clamp(24px, 4vw, 40px);
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeIn 0.8s var(--ease-out) both;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  animation: heroFadeIn 0.8s var(--ease-out) 0.1s both;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  animation: taglineSlide 0.6s var(--ease-out) both;
}

.tagline::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes taglineSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   NOTICES / ALERTS
   ───────────────────────────────────────────────────────────────────────────── */
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid transparent;
  animation: noticeSlide 0.4s var(--ease-out) both;
}

.notice::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.notice.success {
  background: var(--success-100);
  color: var(--success-600);
  border-color: rgba(45, 122, 94, 0.15);
}

.notice.success::before {
  background: var(--success-500);
  box-shadow: inset 0 0 0 3px var(--success-100);
}

.notice.error {
  background: var(--danger-100);
  color: var(--danger-600);
  border-color: rgba(184, 59, 59, 0.15);
}

.notice.error::before {
  background: var(--danger-500);
  box-shadow: inset 0 0 0 3px var(--danger-100);
}

@keyframes noticeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PANELS & CARDS
   ───────────────────────────────────────────────────────────────────────────── */
.panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500), var(--gold-400));
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.panel:focus-within::before {
  opacity: 1;
}

.panel h2 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  border-radius: 2px;
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) ease;
  animation: cardFadeUp 0.5s var(--ease-out) both;
  animation-delay: calc(var(--card-index, 0) * 0.05s);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-200);
}

.card h2 {
  font-size: 1.15rem;
  margin: 0;
  padding: 0;
  border: none;
  color: var(--slate-800);
}

.card h2::before {
  display: none;
}

.card .badge {
  margin-top: -8px;
}

.meta {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 16px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.meta div {
  display: flex;
  gap: 8px;
}

.meta strong {
  color: var(--text-muted);
  font-weight: 500;
  min-width: 100px;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BADGES
   ───────────────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast) ease;
  cursor: pointer;
}

.badge:hover {
  background: var(--slate-800);
  color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Badge with checkbox */
label.badge {
  background: var(--surface);
  border: 2px solid var(--slate-200);
  padding: 12px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: auto;
}

label.badge:hover {
  border-color: var(--gold-400);
  background: var(--gold-100);
  color: var(--slate-800);
  transform: none;
  box-shadow: var(--shadow-gold);
}

label.badge:has(input:checked) {
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  border-color: var(--slate-800);
  color: var(--gold-300);
}

label.badge input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-400);
  cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FORMS
   ───────────────────────────────────────────────────────────────────────────── */
form {
  display: grid;
  gap: 20px;
}

form > div {
  display: grid;
  gap: 8px;
}

/* Availability options (Doodle-like) */
.availability-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.availability-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-bounce);
}

.availability-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.availability-option:hover {
  transform: translateY(-1px);
}

.availability-option:has(input:checked) {
  background: var(--gold-200);
  color: var(--slate-900);
  border-color: var(--gold-400);
}

.availability-ok:has(input:checked) {
  background: #bbf7d0;
  border-color: #22c55e;
  color: #14532d;
}

.availability-maybe:has(input:checked) {
  background: #fde68a;
  border-color: #f59e0b;
  color: #92400e;
}

.availability-no:has(input:checked) {
  background: #fecaca;
  border-color: #ef4444;
  color: #7f1d1d;
}


label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-200);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    background var(--duration-fast) ease;
}

input::placeholder, textarea::placeholder {
  color: var(--slate-400);
}

input:hover, textarea:hover, select:hover {
  border-color: var(--slate-300);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(212, 160, 58, 0.12);
  background: var(--gold-100);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
  cursor: pointer;
}

input[type="file"] {
  padding: 12px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  padding: 10px 20px;
  margin-right: 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--slate-800);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

input[type="file"]::file-selector-button:hover {
  background: var(--slate-700);
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
  color: var(--text-inverse);
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast) ease,
    background var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

button:hover::before {
  opacity: 1;
}

button span, button:not(:empty) {
  position: relative;
  z-index: 1;
}

button:active {
  transform: translateY(0);
}

button.danger {
  background: linear-gradient(135deg, var(--danger-500), var(--danger-600));
  padding: 10px 18px;
  font-size: 0.85rem;
}

button.danger::before {
  background: linear-gradient(135deg, #e05555, var(--danger-600));
}

/* ─────────────────────────────────────────────────────────────────────────────
   ADMIN TOOLBAR
   ───────────────────────────────────────────────────────────────────────────── */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
  animation: toolbarSlide 0.4s var(--ease-out) both;
}

.admin-toolbar .badge {
  background: var(--slate-50);
}

.admin-toolbar .badge:first-child {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--slate-900);
  border-color: var(--gold-400);
  font-weight: 700;
}

.admin-toolbar .badge:first-child:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.admin-toolbar .badge:last-child {
  margin-left: auto;
  background: transparent;
  border-color: var(--slate-300);
  color: var(--slate-500);
}

.admin-toolbar .badge:last-child:hover {
  background: var(--danger-100);
  border-color: var(--danger-500);
  color: var(--danger-600);
}

@keyframes toolbarSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   TABLES
   ───────────────────────────────────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  animation: tableReveal 0.5s var(--ease-out) both;
}

.table thead {
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.table th {
  padding: 18px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-300);
  border-bottom: none;
}

.table td {
  padding: 18px 20px;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.table tbody tr {
  transition: background var(--duration-fast) ease;
}

.table tbody tr:hover {
  background: var(--gold-100);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table td strong {
  color: var(--slate-800);
  font-weight: 600;
}

.table td small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.table td:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.table td form {
  display: inline;
}

@keyframes tableReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SPLIT LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */
.split {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 380px 1fr;
  }

  .split .panel {
    position: sticky;
    top: 24px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--slate-600);
  padding: 8px 16px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  margin-left: 8px;
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease;
}

.footer a:hover {
  background: var(--slate-800);
  color: var(--gold-300);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────────────────────────────────────── */
.print-block {
  break-inside: avoid;
  page-break-inside: avoid;
}

.print-meta {
  display: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

@page {
  margin: 12mm;
}

@media print {
  body {
    background: white;
  }

  body::before, body::after {
    display: none;
  }

  .hero {
    padding: 16px 0;
  }

  .tagline, .admin-toolbar, .footer {
    display: none !important;
  }

  .card, .panel, .table {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .table thead {
    background: #2d3748 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .table th {
    color: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  button:not([onclick*="print"]) {
    display: none !important;
  }

  a.badge {
    display: none !important;
  }

  main.container {
    width: 100%;
    padding: 0;
  }

  .hero {
    padding: 0 0 12px;
  }

  .hero h1 {
    margin-bottom: 4px;
  }

  .hero p {
    margin-top: 6px;
    margin-bottom: 0;
  }

  .print-meta {
    display: block;
    margin: 0 0 12px;
    font-size: 0.75rem;
    color: #555;
  }

  .team-section {
    margin-bottom: 16px;
  }

  .team-title {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom-color: #bbb;
  }

  .table {
    border-collapse: collapse;
    border-radius: 0;
  }

  .table thead {
    display: table-header-group;
  }

  .table tr {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .table th,
  .table td {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .table td {
    vertical-align: top;
    word-break: break-word;
  }

  .table td:last-child {
    display: table-cell;
  }

  .no-data {
    color: #666;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    padding: 16px;
    gap: 8px;
  }

  .admin-toolbar .badge {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    text-align: center;
  }

  .admin-toolbar .badge:last-child {
    margin-left: 0;
    flex: 1 1 100%;
  }

  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table thead {
    display: none;
  }

  .table tbody {
    display: block;
  }

  .table tr {
    display: block;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
  }

  .table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
  }

  .table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-align: left;
    flex-shrink: 0;
    margin-right: 16px;
  }

  .table td:last-child {
    border-bottom: none;
    padding-top: 16px;
    justify-content: flex-start;
  }

  .table td:last-child::before {
    display: none;
  }

  .meta strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .panel, .card {
    padding: 20px;
  }

  button {
    width: 100%;
    padding: 16px;
  }

  .badge {
    padding: 10px 14px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITY: STAGGERED ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */
.card:nth-child(1) { --card-index: 0; }
.card:nth-child(2) { --card-index: 1; }
.card:nth-child(3) { --card-index: 2; }
.card:nth-child(4) { --card-index: 3; }
.card:nth-child(5) { --card-index: 4; }
.card:nth-child(6) { --card-index: 5; }
.card:nth-child(7) { --card-index: 6; }
.card:nth-child(8) { --card-index: 7; }
.card:nth-child(9) { --card-index: 8; }
.card:nth-child(10) { --card-index: 9; }

/* ─────────────────────────────────────────────────────────────────────────────
   FILTER PANEL
   ───────────────────────────────────────────────────────────────────────────── */
.filter-panel {
  margin-bottom: 28px;
  padding: 20px 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.filter-field {
  flex: 1;
  min-width: 200px;
  display: grid;
  gap: 8px;
}

.filter-panel button {
  height: fit-content;
}

@media (max-width: 480px) {
  .filter-row {
    flex-direction: column;
  }

  .filter-field {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FORM PANELS & SECTIONS
   ───────────────────────────────────────────────────────────────────────────── */
.form-panel {
  max-width: 680px;
  margin: 0 auto;
}

.login-panel {
  max-width: 420px;
  margin: 0 auto;
}

.form-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.form-section:first-of-type {
  padding-top: 0;
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 2px solid var(--slate-100);
}

.form-actions .badge {
  padding: 14px 24px;
}

@media (max-width: 480px) {
  .form-actions {
    flex-direction: column;
  }

  .form-actions .badge {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   IMPORT INSTRUCTIONS
   ───────────────────────────────────────────────────────────────────────────── */
.import-instructions {
  padding: 20px 24px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.import-instructions p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 8px 0;
}

.csv-format {
  display: block;
  padding: 14px 18px;
  background: var(--slate-800);
  color: var(--gold-300);
  border-radius: var(--radius-sm);
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.85rem;
  margin: 16px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────────────
   EMPTY STATES
   ───────────────────────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 32px;
  max-width: 480px;
  margin: 0 auto;
}

.empty-state h2 {
  margin-bottom: 12px;
  color: var(--slate-700);
}

.empty-state .meta {
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  display: block;
  margin-bottom: 24px;
}

.empty-state .badge {
  margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TEAM SECTIONS (RECAP)
   ───────────────────────────────────────────────────────────────────────────── */
.team-section {
  margin-bottom: 28px;
}

.team-section .table {
  box-shadow: none;
  border: 1px solid var(--border-light);
}

.team-title {
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-200);
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
}

.no-data {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.places-count {
  font-weight: 600;
  color: var(--slate-700);
}

/* ─────────────────────────────────────────────────────────────────────────────
   CARD HEADER & BADGES
   ───────────────────────────────────────────────────────────────────────────── */
.card-header {
  display: grid;
  gap: 12px;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-group,
.badge-category {
  font-size: 0.75rem;
  padding: 6px 12px;
  cursor: default;
}

.badge-group:hover,
.badge-category:hover {
  transform: none;
  background: var(--slate-100);
  color: var(--slate-700);
}

/* ─────────────────────────────────────────────────────────────────────────────
   USER INFO PANEL
   ───────────────────────────────────────────────────────────────────────────── */
.user-info-panel h2 {
  font-size: 1.15rem;
}
.user-info-panel button[type="submit"] {
  margin-top: 16px;
}


/* ─────────────────────────────────────────────────────────────────────────────
   FOCUS VISIBLE FOR ACCESSIBILITY
   ───────────────────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

button:focus-visible, .badge:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SMOOTH SCROLLING & SELECTION
   ───────────────────────────────────────────────────────────────────────────── */
::selection {
  background: var(--gold-200);
  color: var(--slate-900);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLLBAR STYLING
   ───────────────────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 5px;
  border: 2px solid var(--slate-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

/* ─────────────────────────────────────────────────────────────────────────────
   THEME TOGGLE
   ───────────────────────────────────────────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition:
    transform var(--duration-fast) var(--ease-bounce),
    background var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--gold-400);
}

.theme-toggle::before {
  content: '';
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  background: var(--text-primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

[data-theme="dark"] .theme-toggle::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
  transform: translate(-50%, -50%) rotate(-30deg);
}

@media print {
  .theme-toggle {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOADING SPINNER
   ───────────────────────────────────────────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button.loading {
  pointer-events: none;
  opacity: 0.7;
}

button.loading .btn-text {
  opacity: 0;
}

button.loading .spinner {
  position: absolute;
}

/* ─────────────────────────────────────────────────────────────────────────────
   STATUS BADGES (Almost full, Full, etc.)
   ───────────────────────────────────────────────────────────────────────────── */
.badge-warning {
  background: var(--warning-100);
  color: var(--warning-600);
  border-color: var(--warning-500);
}

.badge-warning:hover {
  background: var(--warning-100);
  color: var(--warning-600);
  transform: none;
}

.badge-danger {
  background: var(--danger-100);
  color: var(--danger-600);
  border-color: var(--danger-500);
}

.badge-success {
  background: var(--success-100);
  color: var(--success-600);
  border-color: var(--success-500);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-indicator.almost-full {
  background: var(--warning-100);
  color: var(--warning-600);
}

.status-indicator.almost-full::before {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SEARCH BAR
   ───────────────────────────────────────────────────────────────────────────── */
.search-container {
  position: relative;
  flex: 2;
  min-width: 250px;
}

.search-container input {
  padding-left: 44px;
  width: 100%;
}

.search-container::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--text-muted);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  mask-size: contain;
  pointer-events: none;
  z-index: 1;
}

.search-container input:focus + .search-clear,
.search-container input:not(:placeholder-shown) + .search-clear {
  opacity: 1;
  pointer-events: auto;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  background: var(--slate-300);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  mask-size: contain;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease;
  padding: 0;
}

.search-clear:hover {
  background: var(--text-primary);
}

/* Hide cards that don't match search */
.card.hidden-by-search {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DATE FILTER
   ───────────────────────────────────────────────────────────────────────────── */
.date-filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.date-filter-group .filter-field {
  min-width: 160px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   INLINE VALIDATION
   ───────────────────────────────────────────────────────────────────────────── */
.field-error {
  color: var(--danger-600);
  font-size: 0.8rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: shake 0.3s ease;
}

.field-error::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--danger-500);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
  mask-size: contain;
  flex-shrink: 0;
}

input.invalid,
textarea.invalid,
select.invalid {
  border-color: var(--danger-500) !important;
  background: var(--danger-100) !important;
}

input.valid,
textarea.valid,
select.valid {
  border-color: var(--success-500) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   STATISTICS DASHBOARD
   ───────────────────────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card .stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.stat-card .stat-trend.up {
  color: var(--success-500);
}

.stat-card .stat-trend.down {
  color: var(--danger-500);
}

/* Progress bar for fill rate */
.progress-bar {
  height: 8px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  border-radius: var(--radius-full);
  transition: width var(--duration-slow) var(--ease-out);
}

.progress-bar .progress-fill.warning {
  background: linear-gradient(90deg, var(--warning-500), var(--warning-600));
}

.progress-bar .progress-fill.danger {
  background: linear-gradient(90deg, var(--danger-500), var(--danger-600));
}

.progress-bar .progress-fill.success {
  background: linear-gradient(90deg, var(--success-500), var(--success-600));
}

/* ─────────────────────────────────────────────────────────────────────────────
   AUDIT LOG / ACTIVITY
   ───────────────────────────────────────────────────────────────────────────── */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.create {
  background: var(--success-100);
  color: var(--success-600);
}

.activity-icon.delete {
  background: var(--danger-100);
  color: var(--danger-600);
}

.activity-icon.update {
  background: var(--gold-100);
  color: var(--gold-500);
}

.activity-content {
  flex: 1;
}

.activity-content .activity-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.activity-content .activity-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   UNDO TOAST
   ───────────────────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--slate-900);
  color: var(--text-inverse);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
  animation: toastSlideIn 0.3s var(--ease-out) both;
  max-width: 400px;
}

[data-theme="dark"] .toast {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.toast.hiding {
  animation: toastSlideOut 0.2s ease-in both;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
}

.toast-action {
  background: var(--gold-400);
  color: var(--slate-900);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

.toast-action:hover {
  background: var(--gold-300);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: color var(--duration-fast) ease;
}

.toast-close:hover {
  color: var(--text-inverse);
}

[data-theme="dark"] .toast-close:hover {
  color: var(--text-primary);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONFLICT WARNING
   ───────────────────────────────────────────────────────────────────────────── */
.conflict-warning {
  background: var(--warning-100);
  border: 1px solid var(--warning-500);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--warning-600);
  animation: shake 0.3s ease;
}

.conflict-warning::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--warning-500);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
  mask-size: contain;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DUPLICATE BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.btn-duplicate {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--border-light);
}

.btn-duplicate:hover {
  background: var(--gold-100);
  color: var(--slate-800);
  border-color: var(--gold-300);
}

.btn-duplicate::before {
  opacity: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CALENDAR EXPORT BUTTON
   ───────────────────────────────────────────────────────────────────────────── */
.btn-calendar {
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-calendar:hover {
  background: var(--slate-800);
  color: var(--gold-300);
}

.btn-calendar::before {
  opacity: 0 !important;
}
