/* MMDT EventHub design system — layout and components carried over from mmdt-walker
   (glass panels, Inter + Outfit), re-themed to the Myanmar Data Tech logo:
   gold #FFC100 with silver-grey #D2D3D5 on a light background. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Brand (from Logo_MMDT.png) */
  --brand-gold: #FFC100;
  --brand-gold-light: #FFD84D;
  --brand-gold-deep: #E6A800;
  --brand-grey: #D2D3D5;
  --brand-ink: #2B2100;          /* text on gold (9.8:1) */

  --bg-gradient: linear-gradient(160deg, #ffffff 0%, #fffdf6 45%, #f6f6f7 100%);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(43, 33, 0, 0.09);
  --glass-highlight: rgba(255, 255, 255, 0.7);
  --text-primary: #1c1a17;
  --text-secondary: #5b5852;
  --accent-color: #FFC100;       /* fills, borders, focus rings */
  --accent-strong: #8A6100;      /* gold text/links on white (5.5:1) */
  --accent-glow: rgba(255, 193, 0, 0.25);
  --accent-soft: rgba(255, 193, 0, 0.14);
  --success-color: #059669;
  --success-glow: rgba(5, 150, 105, 0.15);
  --info-color: #0284c7;
  --warning-color: #b45309;
  --danger-color: #dc2626;
  --brand-gradient: linear-gradient(90deg, #C99200 0%, #F2B200 55%, #FFC100 100%);
  --button-gradient: linear-gradient(135deg, #FFD84D 0%, #FFC100 55%, #F2B000 100%);
  --cover-gradient: linear-gradient(135deg, #FFF6D1 0%, #FFE07A 60%, #FFC100 100%);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 25px -5px rgba(43, 33, 0, 0.05), 0 8px 10px -6px rgba(43, 33, 0, 0.05);
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --item-bg: rgba(210, 211, 213, 0.28);
  --scrollbar-track-bg: rgba(210, 211, 213, 0.3);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--accent-strong); }
img { max-width: 100%; display: block; }
::selection { background: var(--brand-gold-light); color: var(--brand-ink); }
.muted { color: var(--text-secondary); }
.small { font-size: 0.85rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.03em; }
.nowrap { white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* Glass panels ------------------------------------------------------------ */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-highlight);
  border-radius: 16px;
  transition: var(--transition-smooth);
}
.glass-panel:hover { border-color: rgba(43, 33, 0, 0.16); }
.panel-pad { padding: 2rem; }
.glass-card-interactive { cursor: pointer; }
.glass-card-interactive:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  border-color: var(--accent-color);
  box-shadow: 0 10px 28px var(--accent-glow);
}

/* Layout ---------------------------------------------------------------- */
.app-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; }
.page-head { margin-bottom: 2rem; }
.page-head h1 { font-size: 2.2rem; line-height: 1.2; }
.page-head p { color: var(--text-secondary); margin-top: 0.25rem; }

/* Navigation ------------------------------------------------------------ */
.custom-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.5rem; margin-bottom: 2.5rem; position: relative; z-index: 30; gap: 1rem;
  border-top: 3px solid var(--accent-color);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-title {
  color: var(--text-primary);
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1;
}
.brand-title .brand-accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a, .nav-links .link-button {
  color: var(--text-secondary); text-decoration: none; font-weight: 500; position: relative; padding: 0.25rem 0;
  transition: var(--transition-smooth); background: none; border: none; font: inherit; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; border-radius: 2px;
  background: var(--accent-color); transition: var(--transition-smooth);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .link-button.logout { color: var(--danger-color); }
.nav-user { font-size: 0.8rem; color: var(--text-secondary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--glass-border); border-radius: 8px;
  padding: 0.4rem 0.6rem; font-size: 1.2rem; cursor: pointer; color: var(--text-primary); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem;
    background: #ffffff; border: 1px solid var(--glass-border); border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .link-button, .nav-user { padding: 0.75rem 1rem; text-align: left; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--accent-soft); border-radius: 8px; }
  .brand-title { font-size: 1.4rem; }
  .brand-logo { width: 38px; height: 38px; }
  .page-head h1 { font-size: 1.7rem; }
  .panel-pad { padding: 1.25rem; }
}

/* Forms ------------------------------------------------------------------ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-secondary); font-size: 0.9rem; }
.form-hint { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.35rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem; border-radius: 8px; background: var(--input-bg);
  border: 1px solid rgba(43, 33, 0, 0.14); color: var(--text-primary); font-family: var(--font-sans);
  font-size: 1rem; transition: var(--transition-smooth);
}
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--input-bg-focus); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238A6100' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px 12px; padding-right: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.5rem; }
.check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 500; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--brand-gold-deep); }
.required::after { content: ' *'; color: var(--danger-color); }

/* Buttons ----------------------------------------------------------------- */
.btn-premium {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 8px; border: none; cursor: pointer;
  transition: var(--transition-smooth); font-family: var(--font-sans); font-size: 0.95rem; text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-primary-gradient { background: var(--button-gradient); color: var(--brand-ink); box-shadow: 0 4px 14px var(--accent-glow); }
.btn-primary-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 193, 0, 0.45); filter: saturate(1.1); }
.btn-primary-gradient:focus-visible, .btn-secondary-glass:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.btn-secondary-glass { background: #ffffff; border: 1px solid rgba(43, 33, 0, 0.16); color: var(--text-primary); }
.btn-secondary-glass:hover { border-color: var(--accent-color); color: var(--accent-strong); background: #fffcf0; }
.btn-success { background: var(--success-color); color: #fff; }
.btn-success:hover { filter: brightness(1.08); }
.btn-danger { background: #fff; color: var(--danger-color); border: 1px solid rgba(220, 38, 38, 0.35); }
.btn-danger:hover { background: rgba(220, 38, 38, 0.06); }
.btn-google { background: #fff; color: #1f2937; border: 1px solid #dadce0; }
.btn-google:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
button:disabled, .btn-premium.disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* Badges ------------------------------------------------------------------- */
.user-badge, .badge {
  display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0.65rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap;
  border: 1px solid transparent;
}
.badge-admin { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border-color: rgba(239, 68, 68, 0.25); }
.badge-user, .badge-member { background: rgba(16, 185, 129, 0.1); color: #047857; border-color: rgba(16, 185, 129, 0.25); }
.badge-guest { background: rgba(2, 132, 199, 0.1); color: #0369a1; border-color: rgba(2, 132, 199, 0.25); }
.badge-organizer { background: rgba(124, 58, 237, 0.1); color: #6d28d9; border-color: rgba(124, 58, 237, 0.25); }
.badge-open, .badge-approved { background: rgba(16, 185, 129, 0.12); color: #047857; border-color: rgba(16, 185, 129, 0.3); }
.badge-pending, .badge-pending_approval { background: rgba(245, 158, 11, 0.12); color: #b45309; border-color: rgba(245, 158, 11, 0.3); }
.badge-closed { background: rgba(210, 211, 213, 0.45); color: #3f3f46; border-color: rgba(113, 113, 122, 0.3); }
.badge-cancelled, .badge-rejected { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border-color: rgba(239, 68, 68, 0.25); }
.badge-members { background: var(--accent-soft); color: var(--accent-strong); border-color: rgba(255, 193, 0, 0.45); }
.badge-fee { background: rgba(210, 211, 213, 0.35); color: var(--text-primary); }
.badge-plus { background: rgba(16, 185, 129, 0.12); color: #047857; }
.badge-minus { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }

/* Stats strip --------------------------------------------------------------- */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { padding: 1.25rem; text-align: center; }
.stat-val { font-size: 1.8rem; font-weight: 800; color: var(--accent-strong); font-family: var(--font-display); line-height: 1.2; }
.stat-label { font-size: 0.78rem; color: var(--text-secondary); text-transform: uppercase; margin-top: 0.25rem; letter-spacing: 0.03em; }

/* Hero + filters -------------------------------------------------------------- */
.hero { padding: 2.5rem 2rem; margin-bottom: 2rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 0, 0.22) 0%, rgba(255, 193, 0, 0) 70%); pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { font-size: 2.6rem; line-height: 1.1; }
.hero h1 span { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-secondary); margin-top: 0.75rem; font-size: 1.05rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.hero-stat { background: #ffffff; border: 1px solid var(--glass-border); border-bottom: 3px solid var(--accent-color); border-radius: 12px; padding: 1rem 0.5rem; text-align: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding: 1.5rem; } .hero h1 { font-size: 2rem; } }

.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(43, 33, 0, 0.12); background: #ffffff;
  color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: var(--transition-smooth);
}
.chip:hover { border-color: var(--accent-color); color: var(--accent-strong); }
.chip.active { background: var(--accent-color); color: var(--brand-ink); border-color: var(--accent-color); }

/* Event cards ------------------------------------------------------------------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.event-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #ffffff; }
.event-cover { position: relative; aspect-ratio: 16 / 9; background: var(--cover-gradient); overflow: hidden; }
.event-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-cover .cover-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.35rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #6b4c00;
  padding: 1rem; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.14em;
}
.event-cover .cover-fallback::after {
  content: ''; position: absolute; right: -18px; bottom: -22px; width: 120px; height: 120px; opacity: 0.18;
  background: url('img/logo-mark.png') center / contain no-repeat;
}
.cover-fallback .cover-icon { font-size: 3rem; letter-spacing: 0; }
.event-cover .cover-badges { position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem; display: flex; justify-content: space-between; gap: 0.5rem; z-index: 1; }
.event-cover .badge { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); }
.event-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.event-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--accent-strong); }
.event-title { font-size: 1.25rem; line-height: 1.25; }
.event-meta { display: grid; gap: 0.3rem; font-size: 0.88rem; color: var(--text-secondary); }
.event-meta div { display: flex; gap: 0.5rem; align-items: baseline; }
.event-foot { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.event-fee { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.event-count { font-size: 0.82rem; color: var(--text-secondary); }

/* Detail layout ------------------------------------------------------------------- */
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }
.detail-cover { aspect-ratio: 21 / 9; border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; position: relative; background: var(--cover-gradient); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-title {
  font-size: 1.2rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--glass-border); padding-bottom: 0.75rem;
}
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-grid.one { grid-template-columns: 1fr; }
.info-item { background: var(--item-bg); padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid rgba(43, 33, 0, 0.04); }
.info-label { font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.info-value { font-size: 1.02rem; font-weight: 600; color: var(--text-primary); margin-top: 0.15rem; word-break: break-word; }
.description { white-space: pre-line; color: var(--text-primary); }
.sticky { position: sticky; top: 1.5rem; }
.session-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.session-pill { background: var(--accent-soft); color: #5c4100; border-radius: 8px; padding: 0.35rem 0.7rem; font-size: 0.82rem; font-weight: 600; }

/* Tables --------------------------------------------------------------------------- */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.custom-table { width: 100%; border-collapse: collapse; text-align: left; }
.custom-table th { padding: 0.85rem 0.9rem; font-weight: 600; color: var(--text-secondary); border-bottom: 2px solid var(--brand-grey); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.custom-table td { padding: 0.85rem 0.9rem; border-bottom: 1px solid rgba(43, 33, 0, 0.06); font-size: 0.92rem; vertical-align: middle; }
.custom-table tbody tr { transition: var(--transition-smooth); }
.custom-table tbody tr:hover { background: rgba(255, 193, 0, 0.07); }
.custom-table .actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.cell-strong { font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); }

/* Alerts ----------------------------------------------------------------------------- */
.alerts-container { margin-bottom: 1.5rem; }
.alert {
  padding: 0.9rem 1.15rem; border-radius: 10px; margin-bottom: 0.75rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; border: 1px solid transparent; animation: slideInDown 0.3s ease; font-weight: 500;
}
.alert-success { background: rgba(16, 185, 129, 0.1); color: #065f46; border-color: rgba(16, 185, 129, 0.25); }
.alert-danger { background: rgba(239, 68, 68, 0.08); color: #991b1b; border-color: rgba(239, 68, 68, 0.25); }
.alert-warning { background: rgba(255, 193, 0, 0.14); color: #6b4c00; border-color: rgba(255, 193, 0, 0.45); }
.alert-info { background: rgba(14, 165, 233, 0.08); color: #075985; border-color: rgba(14, 165, 233, 0.25); }
.btn-close-alert { background: none; border: none; color: inherit; cursor: pointer; font-size: 1.2rem; line-height: 1; opacity: 0.7; }
.btn-close-alert:hover { opacity: 1; }
.notice { padding: 1rem 1.15rem; border-radius: 10px; background: var(--item-bg); color: var(--text-secondary); font-size: 0.92rem; }
.notice.warn { background: rgba(255, 193, 0, 0.14); color: #6b4c00; }
.notice.ok { background: rgba(16, 185, 129, 0.1); color: #065f46; }

/* Auth -------------------------------------------------------------------------------- */
.auth-wrapper { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 1rem 0; }
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; width: 100%; max-width: 900px; }
.auth-card { width: 100%; padding: 2.5rem; background: #ffffff; }
.auth-card.narrow { max-width: 440px; }
.auth-header { text-align: center; margin-bottom: 1.75rem; }
.auth-logo { width: 72px; height: 72px; margin: 0 auto 0.75rem; object-fit: contain; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-top: 0.35rem; }
.divider { display: flex; align-items: center; gap: 0.75rem; color: var(--text-secondary); font-size: 0.8rem; margin: 1.5rem 0; text-transform: uppercase; letter-spacing: 0.08em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
@media (max-width: 600px) { .auth-card { padding: 1.5rem; } }

/* Admin --------------------------------------------------------------------------------- */
.admin-tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; background: rgba(210, 211, 213, 0.35); padding: 0.25rem; border-radius: 10px; margin-bottom: 2rem; }
.admin-tabs a { padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem; text-decoration: none; color: var(--text-secondary); transition: var(--transition-smooth); }
.admin-tabs a.active { background: var(--accent-color); color: var(--brand-ink); }
.admin-tabs a:hover:not(.active) { color: var(--text-primary); background: rgba(255, 255, 255, 0.8); }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; align-items: end; }
.attendance-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-radius: 10px; background: var(--item-bg); }
.switch { position: relative; width: 52px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--brand-grey); border-radius: 999px; transition: var(--transition-smooth); cursor: pointer; }
.switch .slider::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: var(--transition-smooth); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .slider { background: var(--success-color); }
.switch input:checked + .slider::before { transform: translateX(24px); }
.switch input:focus-visible + .slider { outline: 2px solid var(--brand-gold-deep); outline-offset: 2px; }
.thumb { width: 64px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--cover-gradient); }

/* Footer --------------------------------------------------------------------------------- */
.app-footer { text-align: center; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.85rem; }
.footer-logo { width: 120px; margin: 0 auto 0.75rem; opacity: 0.95; }
.dev-flag { color: var(--warning-color); font-size: 0.75rem; margin-top: 0.5rem; font-weight: 500; }

@keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track-bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 193, 0, 0.6); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-gold-deep); }

/* Privacy policy */
.legal h2 { font-size: 1.2rem; margin-top: 0.5rem; }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.5rem; }

/* Payment instructions + QR (paid events) */
.payment-box { text-align: left; }
.payment-qr { display: block; width: 180px; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--glass-border); background: #fff; }

/* Volunteers */
.badge-completed { background: rgba(124, 58, 237, 0.1); color: #6d28d9; border-color: rgba(124, 58, 237, 0.25); }
.badge-declined, .badge-no_show { background: rgba(107, 114, 128, 0.12); color: #4b5563; border-color: rgba(107, 114, 128, 0.3); }
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
.role-chip { padding: 0.65rem 0.8rem; border-radius: 10px; background: var(--item-bg); font-size: 0.88rem; }
.role-chip .role-name { font-weight: 600; color: var(--text-primary); }
.role-chip.full { opacity: 0.55; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.inline-actions form { display: inline; }
