/* =============================================================
   RGM Organizers — Premium Redesign
   Loaded after main.css to override dashboard + event-detail UI.
   Goals: cleaner hierarchy, generous whitespace, refined glass,
   softer accents, less visual noise.
   ============================================================= */

:root {
  --pre-bg: #030407;
  --pre-surface: rgba(255, 255, 255, 0.035);
  --pre-surface-strong: rgba(255, 255, 255, 0.07);
  --pre-border: rgba(255, 255, 255, 0.07);
  --pre-border-hover: rgba(255, 255, 255, 0.14);
  --pre-text: #ffffff;
  --pre-muted: #a8a8b3;
  --pre-faint: #6e6e7a;
  --pre-primary: #f43f5e;
  --pre-primary-soft: rgba(244, 63, 94, 0.12);
  --pre-purple: #a855f7;
  --pre-blue: #3b82f6;
  --pre-green: #22c55e;
  --pre-orange: #f59e0b;
  --pre-radius-sm: 14px;
  --pre-radius-md: 20px;
  --pre-radius-lg: 26px;
  --pre-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --pre-shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.48);
}

/* Soften the animated orbs so they feel like ambient lighting */
.bg-orb { opacity: 0.30 !important; filter: blur(120px) !important; }
.orb-1 { width: 520px; height: 520px; top: -160px; right: -160px; }
.orb-2 { width: 440px; height: 440px; bottom: -120px; left: -120px; }
.orb-3 { width: 360px; height: 360px; opacity: 0.22 !important; }
.orb-4 { width: 320px; height: 320px; opacity: 0.25 !important; }

body { background: var(--pre-bg) !important; color: var(--pre-text); }

/* ── Header ────────────────────────────────────────────────── */
.dash-header {
  background: rgba(3, 4, 7, 0.65) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  border-bottom: 1px solid var(--pre-border) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.dash-header-inner { height: 70px; max-width: 1320px; }

.logo { font-size: 1.35rem !important; font-weight: 800 !important; letter-spacing: -0.03em !important; }
.logo span {
  background: linear-gradient(135deg, #ff8fa3 0%, #f43f5e 50%, #d946ef 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.dash-nav { gap: 0.5rem; }
.dash-nav a {
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: var(--pre-muted) !important;
  transition: all 0.2s ease;
}
.dash-nav a:hover { background: rgba(255,255,255,0.04) !important; color: #fff !important; }
.dash-nav a.active {
  background: linear-gradient(135deg, rgba(244,63,94,0.18), rgba(168,85,247,0.18)) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(244,63,94,0.12);
}
.dash-back-link {
  color: var(--pre-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}
.dash-back-link:hover { color: #fff !important; }

.user-avatar {
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f43f5e, #a855f7) !important;
  box-shadow: 0 6px 18px rgba(244,63,94,0.22);
}
.dash-create-mobile {
  display: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(244,63,94,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-create-mobile:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(244,63,94,0.35); }

/* ── Auth / Guest view ─────────────────────────────────────── */
@keyframes auth-fade-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-fade-left {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ring-spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(244,63,94,0.25); }
  50% { transform: scale(1.05); box-shadow: 0 0 64px rgba(168,85,247,0.35); }
}
@keyframes eq-bar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -18px); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(244,63,94,0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(168,85,247,0.08) 0%, transparent 45%),
    var(--pre-bg);
  overflow: hidden;
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.auth-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  pointer-events: none;
}
.auth-bg__orb--1 {
  width: 560px; height: 560px;
  top: -200px; right: -140px;
  background: radial-gradient(circle, rgba(244,63,94,0.42) 0%, transparent 65%);
  animation: orb-float 14s ease-in-out infinite;
}
.auth-bg__orb--2 {
  width: 480px; height: 480px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, rgba(168,85,247,0.38) 0%, transparent 65%);
  animation: orb-float 18s ease-in-out infinite reverse;
}
.auth-bg__orb--3 {
  width: 360px; height: 360px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, transparent 65%);
  animation: orb-float 22s ease-in-out infinite;
}
.auth-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.5), transparent 70%);
}

.auth-layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-hero {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 4rem;
  color: #fff;
}
.auth-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: auto;
}
.auth-brand__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(244,63,94,0.30);
}
.auth-brand__text {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.auth-brand__text span {
  background: linear-gradient(135deg, #ff8fa3, #f43f5e, #d946ef);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-hero__visual {
  margin: 2rem 0;
}
.auth-visual {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.auth-visual__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  animation: ring-spin 20s linear infinite;
}
.auth-visual__ring::before,
.auth-visual__ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.auth-visual__ring::before { inset: 32px; }
.auth-visual__ring::after { inset: 68px; }
.auth-visual__ring--reverse {
  animation-name: ring-spin-reverse;
  animation-duration: 16s;
  border-color: rgba(244,63,94,0.12);
}
.auth-visual__core {
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  background: linear-gradient(135deg, rgba(244,63,94,0.18), rgba(168,85,247,0.18));
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  animation: core-breathe 4s ease-in-out infinite;
}
.auth-visual__core i {
  background: linear-gradient(135deg, #ff8fa3, #f43f5e, #d946ef);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-visual__bars {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 52px;
}
.auth-visual__bars span {
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(to top, #f43f5e, #a855f7);
  transform-origin: bottom;
  animation: eq-bar 1s ease-in-out infinite;
}
.auth-visual__bars span:nth-child(1) { height: 20px; animation-duration: 0.6s; }
.auth-visual__bars span:nth-child(2) { height: 40px; animation-duration: 0.9s; }
.auth-visual__bars span:nth-child(3) { height: 30px; animation-duration: 0.7s; }
.auth-visual__bars span:nth-child(4) { height: 48px; animation-duration: 0.8s; }
.auth-visual__bars span:nth-child(5) { height: 26px; animation-duration: 1.0s; }
.auth-hero__content { max-width: 420px; }
.auth-hero__content h2 {
  font-size: 3rem; font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 1rem;
}
.auth-hero__content h2 span {
  background: linear-gradient(135deg, #ff8fa3, #f43f5e, #d946ef);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-hero__content p {
  font-size: 1.05rem; color: var(--pre-muted); line-height: 1.7;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: auth-fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.auth-card__brand { display: none; }
.auth-card__brand--mobile { display: flex; align-items: center; justify-content: center; gap: 0.65rem; margin-bottom: 1.5rem; }
.auth-card__brand--mobile .auth-brand__mark { width: 36px; height: 36px; font-size: 0.9rem; }
.auth-card__brand--mobile .auth-brand__text { font-size: 1.1rem; }

.auth-card__header { text-align: center; margin-bottom: 1.5rem; }
.auth-card__header h1 {
  font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em;
  color: #fff; margin: 0 0 0.35rem;
}
.auth-card__header p {
  color: var(--pre-muted); font-size: 0.9rem; margin: 0;
}

.auth-card__social { margin-bottom: 1.25rem; }
.btn-google, .btn-primary {
  position: relative;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.1rem; border-radius: 13px;
  font-size: 0.95rem; font-weight: 650;
  border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-google {
  background: #fff; color: #111114;
  box-shadow: 0 4px 18px rgba(255,255,255,0.10);
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,255,255,0.16); }
.btn-google:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 8px 26px rgba(244,63,94,0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(244,63,94,0.38); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled {
  opacity: 1; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}
.btn-google:disabled { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); }
.btn-primary:disabled {
  background: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.4) !important;
  filter: none !important;
  box-shadow: none !important;
}
.google-logo { width: 18px; height: 18px; flex-shrink: 0; }

.auth-divider {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--pre-faint); font-size: 0.72rem; font-weight: 600;
  margin-bottom: 1.25rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.auth-form .form-group { margin-bottom: 1rem; }
.auth-form .form-group label {
  display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.78); margin-bottom: 0.4rem;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pre-faint);
  font-size: 0.9rem;
  pointer-events: none;
  width: 1.1rem;
  text-align: center;
}
.input-action {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent; border: none; color: var(--pre-faint);
  font-size: 0.9rem; cursor: pointer; padding: 0.3rem;
  transition: color 0.2s ease;
}
.input-action:hover { color: #fff; }
.input-wrap input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.input-wrap input:focus {
  border-color: rgba(244,63,94,0.55);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 4px rgba(244,63,94,0.10);
}
.input-wrap input::placeholder { color: var(--pre-faint); opacity: 0.75; }
.input-wrap .input-action ~ input { padding-right: 2.75rem; }

.auth-status { min-height: 1.25rem; margin-top: 0.75rem; text-align: center; font-size: 0.82rem; color: var(--pre-muted); }
.auth-error {
  color: var(--pre-primary); font-size: 0.82rem; text-align: center;
  margin-top: 0.75rem; padding: 0.55rem 0.8rem;
  background: rgba(244,63,94,0.08); border: 1px solid rgba(244,63,94,0.18);
  border-radius: 10px; display: none;
}
.auth-note {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  color: var(--pre-faint); font-size: 0.72rem; text-align: center; margin-top: 1rem;
}
.auth-note i { font-size: 0.72rem; color: var(--pre-primary); }

.auth-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pre-faint);
  text-align: center;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .auth-layout { padding: 2.5rem; }
  .auth-card { max-width: 520px; padding: 3rem; border-radius: 32px; }
  .auth-card__header h1 { font-size: 2rem; }
  .auth-card__header p { font-size: 1rem; }
  .auth-form .form-group label { font-size: 0.85rem; }
  .input-wrap input { font-size: 1rem; padding: 1rem 1rem 1rem 2.9rem; }
  .input-icon { font-size: 1rem; }
}

/* Desktop split screen */
@media (min-width: 1024px) {
  .auth-layout {
    display: grid;
    grid-template-columns: 1fr 480px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .auth-hero {
    display: flex;
    padding: 3rem 4rem 2rem;
  }
  .auth-card {
    max-width: none;
    border-radius: 0;
    border-top: none; border-bottom: none; border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
  }
  .auth-card__brand--mobile { display: none; }
  .auth-card__header { margin-bottom: 2rem; }
  .auth-card__header h1 { font-size: 1.9rem; }
  .auth-card__social { margin-bottom: 1.5rem; }
  .auth-divider { margin-bottom: 1.5rem; }
  .auth-form .form-group { margin-bottom: 1.15rem; }
  .auth-footer { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; }
}

/* Mobile */
@media (max-width: 480px) {
  .auth-layout { padding: 1.25rem; }
  .auth-card { padding: 1.75rem; border-radius: 22px; }
  .auth-card__brand--mobile { margin-bottom: 1.25rem; }
  .auth-card__brand--mobile .auth-brand__mark { width: 34px; height: 34px; font-size: 0.85rem; }
  .auth-card__brand--mobile .auth-brand__text { font-size: 1.05rem; }
  .auth-card__header { margin-bottom: 1.25rem; }
  .auth-card__header h1 { font-size: 1.45rem; }
  .auth-card__header p { font-size: 0.82rem; }
  .btn-google, .btn-primary { padding: 0.82rem 1rem; font-size: 0.9rem; }
  .input-wrap input { padding: 0.85rem 1rem 0.85rem 2.6rem; font-size: 0.9rem; }
  .input-icon { font-size: 0.85rem; }
}

/* =============================================================
   PENDING APPROVAL — Centered, responsive glass card
   ============================================================= */
.pending-layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pending-card {
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 2.5rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 30px;
  padding: 2.5rem;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  animation: auth-fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow-y: auto;
}

.pending-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.pending-brand .auth-brand__mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.pending-brand .auth-brand__text { font-size: 1.15rem; }

/* Pending visual — smaller, calmer version of auth visual */
.pending-visual {
  position: relative;
  width: 160px; height: 160px;
  margin: 0 auto 1.75rem;
  display: flex; align-items: center; justify-content: center;
}
.pending-visual__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  animation: ring-spin 22s linear infinite;
}
.pending-visual__ring::before,
.pending-visual__ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.pending-visual__ring::before { inset: 22px; }
.pending-visual__ring::after { inset: 48px; }
.pending-visual__ring--reverse {
  animation-name: ring-spin-reverse;
  animation-duration: 18s;
  border-color: rgba(244,63,94,0.12);
}
.pending-visual__core {
  position: absolute; inset: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.85rem;
  background: linear-gradient(135deg, rgba(244,63,94,0.18), rgba(168,85,247,0.18));
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  animation: core-breathe 4s ease-in-out infinite;
}
.pending-visual__core i {
  background: linear-gradient(135deg, #ff8fa3, #f43f5e, #d946ef);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pending-visual__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(244,63,94,0.25);
  animation: pending-pulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes pending-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.45); opacity: 0; }
}

.pending-content { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pending-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pre-primary);
  margin-bottom: 0.65rem;
}
.pending-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pre-primary);
  box-shadow: 0 0 6px var(--pre-primary);
}
.pending-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.85rem;
}
.pending-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--pre-muted);
  margin: 0 0 1.35rem;
  max-width: 360px;
  text-wrap: balance;
}
.pending-text strong { color: #fff; font-weight: 600; word-break: break-word; }

.pending-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: rgba(244,63,94,0.10);
  border: 1px solid rgba(244,63,94,0.22);
  border-radius: 999px;
  color: #ff8fa3;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.pending-status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
  animation: status-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes status-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}
.pending-status i { font-size: 0.82rem; }

.pending-hint {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--pre-faint);
  margin: 0 0 1.5rem;
  max-width: 320px;
}
.pending-logout {
  width: 100%;
  max-width: 240px;
  padding: 0.8rem 1.25rem;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 600;
}
.pending-logout i { font-size: 0.85rem; }

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .pending-layout { padding: 2.5rem; }
  .pending-card { max-width: 520px; padding: 3rem; border-radius: 34px; }
  .pending-visual { width: 180px; height: 180px; margin-bottom: 2rem; }
  .pending-visual__core { inset: 64px; font-size: 2rem; }
  .pending-title { font-size: 2.1rem; }
  .pending-text { font-size: 1rem; max-width: 400px; }
  .pending-status { font-size: 0.9rem; padding: 0.6rem 1.1rem; }
}

/* Desktop — slightly larger, still centered */
@media (min-width: 1024px) {
  .pending-layout { padding: 2rem; }
  .pending-card {
    max-width: 480px;
    padding: 2.25rem;
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }
  .pending-brand { margin-bottom: 1.25rem; }
  .pending-visual { width: 140px; height: 140px; margin-bottom: 1.25rem; }
  .pending-visual__core { inset: 50px; font-size: 1.75rem; }
  .pending-title { font-size: 1.9rem; margin-bottom: 0.75rem; }
  .pending-text { margin-bottom: 1.1rem; }
  .pending-status { margin-bottom: 1.1rem; }
  .pending-hint { margin-bottom: 1.25rem; }
}

/* Short desktop viewports */
@media (min-width: 1024px) and (max-height: 800px) {
  .pending-card { padding: 1.75rem; }
  .pending-brand { margin-bottom: 1rem; }
  .pending-visual { width: 120px; height: 120px; margin-bottom: 1rem; }
  .pending-visual__core { inset: 42px; font-size: 1.5rem; }
  .pending-title { font-size: 1.7rem; margin-bottom: 0.6rem; }
  .pending-text { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.9rem; }
  .pending-status { margin-bottom: 0.9rem; }
  .pending-hint { margin-bottom: 1rem; }
  .pending-logout { padding: 0.7rem 1rem; }
}

/* Mobile */
@media (max-width: 767px) {
  .pending-layout { padding: 1.25rem; }
  .pending-card { padding: 1.85rem; border-radius: 24px; }
  .pending-brand { margin-bottom: 1.5rem; }
  .pending-brand .auth-brand__mark { width: 34px; height: 34px; font-size: 0.85rem; }
  .pending-brand .auth-brand__text { font-size: 1.05rem; }
  .pending-visual { width: 130px; height: 130px; margin-bottom: 1.5rem; }
  .pending-visual__ring::before { inset: 18px; }
  .pending-visual__ring::after { inset: 40px; }
  .pending-visual__core { inset: 46px; font-size: 1.5rem; }
  .pending-title { font-size: 1.55rem; margin-bottom: 0.75rem; }
  .pending-text { font-size: 0.88rem; margin-bottom: 1.15rem; }
  .pending-status { font-size: 0.8rem; margin-bottom: 1.1rem; }
  .pending-hint { font-size: 0.74rem; margin-bottom: 1.25rem; }
  .pending-logout { max-width: none; }
}

/* Small mobile */
@media (max-width: 380px) {
  .pending-layout { padding: 1rem; }
  .pending-card { padding: 1.5rem; border-radius: 22px; }
  .pending-title { font-size: 1.4rem; }
  .pending-text { font-size: 0.84rem; }
}

/* ── Dashboard shell ───────────────────────────────────────── */
.dash-main {
  max-width: 1280px !important;
  padding: 5.5rem 2rem 3rem !important;
}

/* ── Focus selector bar ────────────────────────────────────── */
.dash-focus-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.dash-focus-bar label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pre-text);
}
.dash-focus-bar label i { color: var(--pre-primary); }
.dash-focus-bar .filter-select { min-width: 180px; max-width: 260px; }

/* ── Stats ─────────────────────────────────────────────────── */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}
.stat-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-sm) !important;
  padding: 1.1rem !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  position: relative;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.stat-card:hover {
  background: rgba(255,255,255,0.05) !important;
  border-color: var(--pre-border-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.stat-label { font-size: 0.74rem !important; color: var(--pre-muted); font-weight: 500; }
.stat-icon {
  width: 34px !important; height: 34px !important;
  border-radius: 10px !important;
  border: none !important;
  background: rgba(255,255,255,0.05) !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
}
.stat-icon.pink  { color: #ff8fa3; background: rgba(244,63,94,0.10) !important; }
.stat-icon.purple{ color: #d8b4fe; background: rgba(168,85,247,0.10) !important; }
.stat-icon.blue  { color: #93c5fd; background: rgba(59,130,246,0.10) !important; }
.stat-icon.green { color: #86efac; background: rgba(34,197,94,0.10) !important; }
.stat-value { font-size: 1.45rem !important; font-weight: 700 !important; letter-spacing: -0.02em !important; margin-bottom: 0.2rem !important; }
.stat-meta { font-size: 0.74rem !important; color: var(--pre-faint); }
.stat-meta.positive { color: #86efac; }

/* ── Events section wrapper ────────────────────────────────── */
.events-section {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem !important;
  padding: 0.5rem 1rem;
}
.section-header h2 { font-size: 1.25rem !important; font-weight: 700 !important; letter-spacing: -0.01em !important; margin: 0 !important; }
.section-header p { font-size: 0.82rem !important; color: var(--pre-faint); margin: 0.25rem 0 0; }
.section-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box i {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--pre-faint); font-size: 0.8rem; pointer-events: none;
}
.search-box input,
.filter-select {
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: 10px !important;
  color: #fff;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  height: 40px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.search-box input { width: 220px; min-width: 160px; padding: 0 0.85rem 0 2.2rem !important; }
.search-box input::placeholder { color: var(--pre-muted); opacity: 0.85; }
.filter-select {
  min-width: 130px;
  flex: 0 0 auto;
  max-width: 150px;
  padding: 0 2rem 0 0.85rem !important;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.7rem center !important;
  background-size: 0.75rem !important;
  cursor: pointer;
}
.search-box input:focus,
.filter-select:focus { border-color: rgba(244,63,94,0.45) !important; outline: none; }

/* ── Events grid & cards ───────────────────────────────────── */
.events-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.1rem !important;
}
.event-card {
  display: flex !important; flex-direction: column !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-sm) !important;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.event-card:hover {
  background: rgba(255,255,255,0.05) !important;
  border-color: var(--pre-border-hover) !important;
  transform: translateY(-3px);
}
.event-banner {
  height: 150px !important;
  position: relative;
  background-size: cover;
  background-position: center;
}
.event-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,4,7,0) 30%, rgba(3,4,7,0.9) 100%) !important;
  pointer-events: none;
}
.event-status {
  position: absolute;
  top: 0.65rem; left: 0.65rem;
  padding: 0.25rem 0.6rem !important;
  border-radius: 999px !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  background: rgba(3,4,7,0.55) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.event-card-main {
  display: flex !important; align-items: flex-start !important; gap: 0.85rem !important;
  padding: 0 1rem 0.75rem !important;
  margin-top: -42px !important;
  position: relative; z-index: 2;
}
.event-poster {
  width: 84px !important; height: 110px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  background-color: rgba(255,255,255,0.05) !important;
  background-size: cover !important; background-position: center !important;
  border: 2px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45) !important;
  display: flex; align-items: center; justify-content: center;
}
.event-poster i { font-size: 1.8rem; color: rgba(255,255,255,0.15); }
.event-card-info { flex: 1; min-width: 0; padding-top: 46px; }
.event-card-title {
  font-size: 1rem !important; font-weight: 800 !important; line-height: 1.25 !important;
  margin-bottom: 0.25rem !important; color: #fff !important;
}
.event-card-artist {
  font-size: 0.82rem !important; font-weight: 600 !important;
  color: var(--pre-muted) !important; margin-bottom: 0.55rem !important;
}
.event-card-meta {
  display: flex; flex-direction: column; gap: 0.25rem !important;
  font-size: 0.74rem !important; color: var(--pre-muted);
}
.event-card-meta__item { display: flex; align-items: flex-start; gap: 0.45rem; }
.event-card-meta__item i { color: var(--pre-faint); font-size: 0.7rem; margin-top: 0.15rem; width: 13px; text-align: center; flex-shrink: 0; }
.event-card-meta__item span { line-height: 1.4; }
.event-progress { margin: 0 1rem 1rem !important; }
.progress-bar { height: 4px !important; background: rgba(255,255,255,0.06) !important; border-radius: 2px !important; }
.progress-fill { background: linear-gradient(90deg, #f43f5e, #a855f7) !important; box-shadow: none !important; }
.progress-text { display: flex; justify-content: space-between; font-size: 0.7rem !important; color: var(--pre-faint); margin-top: 0.4rem !important; }

/* ── Featured card + list layout ──────────────────────────── */
.events-layout { display: flex; flex-direction: column; gap: 1.25rem; }

/* Featured card (latest concert) — desktop 2-column split */
.event-card--featured {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr;
  min-height: 280px;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card--featured:hover {
  background: rgba(255,255,255,0.045) !important;
  border-color: var(--pre-border-hover) !important;
  transform: translateY(-3px);
  box-shadow: var(--pre-shadow-hover);
}

/* Left side: cover with overlaid title + basic info */
.event-featured-graphic {
  position: relative;
  min-height: 280px;
  background: rgba(0,0,0,0.2);
}
.event-featured-banner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.event-featured-banner .event-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,4,7,0.25) 0%, rgba(3,4,7,0.55) 50%, rgba(3,4,7,0.92) 100%) !important;
  pointer-events: none;
}
.event-featured-cover-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  z-index: 2;
  pointer-events: none;
}
.event-featured-cover-info > * { pointer-events: auto; }
.event-featured-status {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.event-featured-status.status-upcoming { color: #86efac; background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.22); }
.event-featured-status.status-ongoing { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.22); }
.event-featured-status.status-completed { color: #cbd5e1; background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.22); }
.event-featured-status.status-cancelled { color: #fca5a5; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.22); }
.event-featured-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.event-featured-status span { margin-left: 0; }
.event-featured-cover-body {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
}
.event-featured-poster-mini {
  width: 72px; height: 96px;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.08);
  background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.event-featured-poster-mini i { font-size: 1.4rem; color: rgba(255,255,255,0.25); }
.event-featured-cover-text { min-width: 0; }

/* Right side: dynamic statistics */
.event-featured-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
}
.event-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pre-primary); margin-bottom: 0.45rem;
}
.event-featured-label::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--pre-primary);
  box-shadow: 0 0 6px var(--pre-primary);
}
.event-featured-title {
  font-size: 1.45rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 0.3rem;
}
.event-featured-artist {
  font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.75); margin-bottom: 0.65rem;
}
.event-featured-meta {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
}
.event-featured-meta__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.event-featured-meta__item i { color: rgba(255,255,255,0.55); font-size: 0.72rem; width: 13px; text-align: center; flex-shrink: 0; }
.event-featured-meta__item span { line-height: 1.4; }

.event-featured-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--pre-border);
}
.featured-social-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--pre-muted);
}
.featured-social-stat i { font-size: 0.75rem; color: var(--pre-faint); }
.featured-social-stat span { font-weight: 700; color: var(--pre-text); }
.featured-social-stat small { font-size: 0.6rem; color: var(--pre-faint); text-transform: uppercase; letter-spacing: 0.03em; }

.event-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.featured-stat {
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--pre-border);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.featured-stat:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--pre-border-hover);
  transform: translateY(-2px);
}
.featured-stat__icon {
  width: 30px; height: 30px;
  margin: 0 auto 0.5rem;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(244,63,94,0.12), rgba(168,85,247,0.12));
  display: flex; align-items: center; justify-content: center;
  color: #ff8fa3; font-size: 0.8rem;
}
.featured-stat__value {
  font-size: 1.05rem; font-weight: 800; color: #fff;
  letter-spacing: -0.01em; margin-bottom: 0.15rem;
}
.featured-stat__label {
  font-size: 0.62rem; color: var(--pre-faint); font-weight: 500;
}
.event-featured-seats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--pre-border);
  border-radius: 12px;
}
.featured-seats-total {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pre-text);
}
.featured-seats-total i { font-size: 0.7rem; color: var(--pre-faint); }
.featured-seats-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.featured-seat-tier {
  font-size: 0.68rem;
  color: var(--pre-muted);
  padding: 0.25rem 0.55rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pre-border);
  border-left: 3px solid var(--pre-border);
  border-radius: 8px;
}

.event-featured-progress { margin-top: auto; }
.event-featured-progress .progress-bar { height: 5px !important; border-radius: 3px !important; }
.event-featured-progress .progress-text { font-size: 0.72rem !important; margin-top: 0.4rem !important; }

/* Event list (remaining concerts) — text-based with right-aligned stats */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.event-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--pre-border);
  border-radius: var(--pre-radius-sm);
  text-decoration: none; color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.event-list-item:hover { background: rgba(255,255,255,0.04); border-color: var(--pre-border-hover); transform: translateY(-2px); }
.event-list-main { min-width: 0; }
.event-list-title {
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-list-sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem;
  font-size: 0.76rem; color: var(--pre-muted);
}
.event-list-sub i { font-size: 0.7rem; color: var(--pre-faint); }
.event-list-artist { color: var(--pre-text); font-weight: 600; }
.event-list-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, auto));
  gap: 1.5rem;
  text-align: right;
}
.event-list-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.event-list-stat__value {
  font-size: 0.9rem; font-weight: 700; color: var(--pre-text);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.event-list-stat__label {
  font-size: 0.65rem; color: var(--pre-faint); text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Empty state */
.empty-state { padding: 4rem 1rem !important; text-align: center; }
.empty-state i { font-size: 2.75rem !important; color: rgba(255,255,255,0.08); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.15rem !important; font-weight: 700 !important; margin-bottom: 0.4rem; }
.empty-state p { color: var(--pre-faint); font-size: 0.85rem; margin-bottom: 1.25rem; }

/* ── Responsive dashboard ──────────────────────────────────── */
@media (max-width: 1200px) {
  .events-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .event-card--featured {
    grid-template-columns: 1.1fr 1fr;
    min-height: 280px;
  }
  .event-featured-graphic { min-height: 280px; }
  .event-featured-info { padding: 1.25rem; gap: 1rem; }
  .event-featured-status { align-self: flex-end; }
  .event-featured-title { font-size: 1.35rem; }
  .event-featured-poster-mini { width: 64px; height: 86px; }
  .event-featured-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .dash-main { padding: 4.75rem 1.5rem 2rem !important; }
  .dash-focus-bar { margin-bottom: 1rem; }
  .dash-focus-bar .filter-select { width: 100%; max-width: none; }
  .section-header { flex-wrap: wrap; gap: 0.75rem; }
  .section-actions { width: 100%; justify-content: flex-start; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
}

@media (max-width: 640px) {
  .auth-card { padding: 1.5rem; border-radius: var(--pre-radius-sm); }
  .auth-card__header h1 { font-size: 1.4rem; }

  .dash-header-inner { padding: 0 1.25rem; height: 56px; }
  .dash-nav { display: none; }
  .dash-create-mobile { display: inline-flex; }
  .dash-main { padding: 4.25rem 1.25rem 1.5rem !important; }

  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.7rem !important;
    margin-bottom: 1rem !important;
  }
  .stat-card { padding: 0.9rem !important; border-radius: 12px !important; }
  .stat-icon { width: 30px !important; height: 30px !important; font-size: 0.82rem !important; }
  .stat-value { font-size: 1.25rem !important; }
  .stat-label { font-size: 0.7rem !important; }
  .stat-meta { font-size: 0.68rem !important; }

  .events-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.6rem; margin-bottom: 1rem !important; }
  .section-actions { width: 100%; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
  .filter-select { flex: 0 0 auto; max-width: 130px; }

  .event-banner { height: 170px !important; }
  .event-card-main { padding: 0 1rem 0.75rem !important; margin-top: -46px !important; }
  .event-poster { width: 92px !important; height: 122px !important; border-radius: 14px !important; }
  .event-card-info { padding-top: 52px; }
  .event-card-title { font-size: 1.05rem !important; }
  .event-card-artist { font-size: 0.85rem !important; }
  .event-card-meta { font-size: 0.78rem !important; }

  .event-card--featured { border-radius: var(--pre-radius-sm) !important; grid-template-columns: 1fr; min-height: auto; }
  .event-featured-graphic { min-height: 260px; }
  .event-featured-cover-info { padding: 1rem; }
  .event-featured-poster-mini { width: 60px; height: 80px; }
  .event-featured-info { padding: 1.25rem; gap: 1rem; }
  .event-featured-title { font-size: 1.2rem; }
  .event-featured-artist { font-size: 0.88rem; margin-bottom: 0.55rem; }
  .event-featured-meta { gap: 0.55rem; font-size: 0.74rem; }
  .event-featured-social { gap: 1rem; padding-bottom: 0.75rem; }
  .featured-social-stat { font-size: 0.74rem; }
  .event-featured-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .event-featured-seats { padding: 0.75rem; }
  .featured-seats-tiers { gap: 0.4rem; }
  .featured-seat-tier { font-size: 0.65rem; padding: 0.2rem 0.45rem; }
  .featured-stat { padding: 0.75rem 0.5rem; border-radius: 10px; }
  .featured-stat__icon { width: 28px; height: 28px; font-size: 0.75rem; margin-bottom: 0.4rem; }
  .featured-stat__value { font-size: 0.95rem; }
  .featured-stat__label { font-size: 0.62rem; }

  .event-list-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }
  .event-list-stats {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 1.25rem;
  }
  .event-list-stat { text-align: right; }
  .event-list-title { font-size: 0.95rem; }
  .event-list-sub { gap: 0.5rem; font-size: 0.72rem; }
  .event-list-stat__value { font-size: 0.85rem; }
  .event-list-stat__label { font-size: 0.6rem; }
}

/* =============================================================
   EVENT DETAIL — Premium overrides
   ============================================================= */

.detail-container { max-width: 1200px !important; padding: 6rem 2rem 3rem !important; }

/* Hero container */
.detail-header.rdm-hero-creative {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 1.75rem !important;
  overflow: visible !important;
}

/* Banner */
.rdm-hero-banner {
  height: 340px !important;
  border-radius: var(--pre-radius-lg) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  border: 1px solid var(--pre-border);
}
.rdm-hero-banner .media-overlay {
  background: rgba(0,0,0,0.45) !important;
  border-color: rgba(255,255,255,0.18) !important;
  top: 1rem !important; right: 1rem !important;
}
.rdm-hero-banner__overlay {
  background: linear-gradient(180deg, rgba(3,4,7,0) 20%, rgba(3,4,7,0.85) 100%) !important;
}

/* Top-left / top-right stat pills on banner */
.rdm-hero-stats {
  position: absolute !important;
  top: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  pointer-events: none !important;
  z-index: 10 !important;
}
.rdm-hero-stats--left { left: 1rem !important; }
.rdm-hero-stats--right { right: 4rem !important; }
.rdm-hero-stat {
  background: rgba(3,4,7,0.45) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 0.75rem !important;
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
  pointer-events: auto;
}

/* Hero body (poster + info) */
.rdm-hero-body {
  padding: 0 2.25rem 1.5rem !important;
  margin-top: -70px !important;
  gap: 1.9rem !important;
}
.rdm-artist-float {
  width: 150px !important;
  height: 200px !important;
  border-radius: var(--pre-radius-md) !important;
  border: 2px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5) !important;
}
.rdm-artist-col { gap: 0.85rem !important; }
.rdm-open-chip--mobile {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
  padding: 0.35rem 0.8rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rdm-hero-info { padding-top: 38px !important; }
.rdm-hero-title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5) !important;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem) !important;
  margin-bottom: 0.25rem !important;
}
.rdm-hero-artist {
  color: var(--pre-muted) !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  margin-bottom: 1.15rem !important;
}
.rdm-hero-meta {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding-top: 1.15rem !important;
  margin-top: 1.15rem !important;
  gap: 1.4rem !important;
}
.rdm-hero-meta__item i {
  background: rgba(244,63,94,0.10) !important;
  color: #ff8fa3 !important;
  border-radius: 10px !important;
}
.rdm-hero-meta__item span { color: var(--pre-faint) !important; }
.rdm-hero-meta__item strong { color: #fff !important; font-weight: 700 !important; }

/* Footer (engagement + actions) */
.rdm-hero-footer {
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  padding: 1.1rem 2rem !important;
  background: rgba(255,255,255,0.02) !important;
  border-radius: 0 0 var(--pre-radius-lg) var(--pre-radius-lg) !important;
}
.rdm-engage-item { color: var(--pre-muted) !important; font-size: 0.9rem !important; }
.rdm-engage-item i { color: #ff8fa3 !important; }
.rdm-engage-stat {
  color: var(--pre-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-left-color: rgba(255,255,255,0.10) !important;
}
.rdm-engage-stat i { color: #ff8fa3 !important; font-size: 0.85rem !important; }
.rdm-open-chip {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
  padding: 0.35rem 0.8rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rdm-open-chip:hover { background: rgba(255,255,255,0.13) !important; border-color: rgba(255,255,255,0.22) !important; }
.rdm-event-status__actions .btn-primary {
  background: #fff !important; color: #030407 !important; border: none !important;
  box-shadow: 0 4px 18px rgba(255,255,255,0.12) !important;
}
.rdm-event-status__actions .btn-outline {
  border-color: rgba(255,255,255,0.16) !important; color: rgba(255,255,255,0.85) !important;
}
.rdm-event-status__actions .btn-outline:hover { background: rgba(255,255,255,0.05) !important; color: #fff !important; }

/* Tabs: pill style */
.detail-tabs {
  display: inline-flex !important;
  gap: 0.35rem !important;
  margin-bottom: 1.75rem !important;
  padding: 0.35rem !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.detail-tab {
  padding: 0.65rem 1.1rem !important;
  border-bottom: none !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--pre-muted) !important;
  gap: 0.5rem !important;
}
.detail-tab:hover { color: #fff !important; }
.detail-tab.active {
  background: linear-gradient(135deg, rgba(244,63,94,0.9), rgba(168,85,247,0.9)) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(244,63,94,0.25);
}

/* Panels */
.tab-panel.active { animation: fadeIn 0.3s ease; }

/* Cards */
.detail-card {
  background:
    radial-gradient(circle at 95% 0%, rgba(244,63,94,0.06) 0%, transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(168,85,247,0.06) 0%, transparent 35%),
    rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
  padding: 1.65rem !important;
  box-shadow: var(--pre-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 1.4rem !important;
}
.detail-card h3 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.2rem !important;
  color: #fff;
}
.detail-card h3 i { color: #ff8fa3 !important; }

/* Stat pills on overview */
.stats-row { gap: 1.1rem !important; margin-bottom: 1.65rem !important; }
.stat-pill {
  background:
    radial-gradient(circle at 120% -20%, rgba(244,63,94,0.10) 0%, transparent 40%),
    rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.1rem !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  text-align: left !important;
  display: inline-flex !important; align-items: center !important; gap: 0.8rem !important;
}
.stat-pill i {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(244,63,94,0.12); color: #ff8fa3;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.stat-pill .value { font-size: 1.15rem !important; font-weight: 800 !important; margin-bottom: 0 !important; }
.stat-pill .label { font-size: 0.72rem !important; color: var(--pre-faint); text-transform: uppercase; letter-spacing: 0.04em; }

/* Posts composer & feed */
.post-composer {
  background:
    radial-gradient(circle at 95% 0%, rgba(244,63,94,0.05) 0%, transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(168,85,247,0.05) 0%, transparent 30%),
    rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
  box-shadow: var(--pre-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.post-composer__input { color: #fff !important; }
.post-composer__input::placeholder { color: var(--pre-faint) !important; }
.post-composer__tool { color: var(--pre-muted) !important; }
.post-composer__tool:hover { background: rgba(255,255,255,0.05) !important; color: #fff !important; }
.post-card {
  background:
    radial-gradient(circle at 95% 0%, rgba(244,63,94,0.04) 0%, transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(168,85,247,0.04) 0%, transparent 30%),
    rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
  box-shadow: var(--pre-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.post-author { color: #fff !important; }
.post-time { color: var(--pre-faint) !important; }
.post-content { color: var(--pre-text) !important; }
.post-media-grid { gap: 0.4rem !important; border-radius: var(--pre-radius-sm) !important; }
.post-media-thumb { border-color: var(--pre-border) !important; }

/* Tier list */
.tier-item {
  background: rgba(0,0,0,0.18) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-sm) !important;
  padding: 1rem 1.15rem !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tier-item:hover { border-color: var(--pre-border-hover) !important; background: rgba(0,0,0,0.25) !important; }
.tier-color { width: 12px !important; height: 12px !important; box-shadow: 0 0 10px currentColor; }
.tier-name { font-weight: 700 !important; }
.tier-qty { color: var(--pre-faint); }
.tier-price { font-size: 1.15rem !important; font-weight: 800 !important; }

/* Sidebar info */
.sidebar-row { padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row .label { color: var(--pre-faint); font-size: 0.82rem; }
.sidebar-row .value { font-weight: 600; }

/* Seat plan panels */
.seat-plan-form,
.sp-tier-section,
.sp-magic-card,
.zone-map-widget,
.seat-plan-preview-wrap,
.seat-plan-stat,
.tier-card {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
}
.seat-plan-preview-wrap { box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.tier-card {
  background: linear-gradient(160deg, rgba(40,40,46,0.95) 0%, rgba(18,18,22,0.98) 100%) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}
.tier-card:hover { border-color: var(--pre-border-hover) !important; }

/* Form inputs inside detail */
.detail-card input,
.detail-card select,
.detail-card textarea {
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: 12px !important;
}
.detail-card input:focus,
.detail-card select:focus,
.detail-card textarea:focus { border-color: rgba(244,63,94,0.45) !important; }

/* Info widget */
.info-widget {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
}
.info-meta-item { background: rgba(0,0,0,0.18) !important; border-color: var(--pre-border) !important; border-radius: 14px !important; }
.info-meta-label { color: var(--pre-faint) !important; }

/* Activity list */
.activity-item { gap: 0.9rem !important; }
.activity-dot { box-shadow: 0 0 12px var(--pre-primary); }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%) !important;
  color: #030407 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(255,255,255,0.12) !important;
  transition: all 0.2s ease;
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(255,255,255,0.22) !important; transform: translateY(-1px); }
.btn-publish { background: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%) !important; color: #fff !important; }
.btn-danger { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important; }
.btn-success { background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important; }

/* Dialogs */
.rdm-dialog-overlay,
.sp-selection-overlay { background: rgba(0,0,0,0.55) !important; }
.rdm-dialog,
.sp-selection-card {
  background: linear-gradient(180deg, rgba(26,26,38,0.98) 0%, rgba(16,16,24,0.98) 100%) !important;
  border: 1px solid var(--pre-border) !important;
  border-radius: var(--pre-radius-md) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,0.6);
}

/* Responsive event detail */
@media (max-width: 900px) {
  .detail-container { padding: 5rem 1.25rem 2rem !important; }
  .rdm-hero-banner { height: 280px !important; }
  .rdm-hero-body { padding: 0 1.25rem 1rem !important; margin-top: -50px !important; }
  .rdm-artist-float { width: 130px !important; height: 175px !important; }
  .rdm-hero-info { padding-top: 24px !important; }
  .rdm-hero-title { font-size: 1.65rem !important; }
  .rdm-hero-meta { grid-template-columns: 1fr !important; gap: 0.7rem !important; }
  .rdm-hero-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .rdm-event-status__actions { display: none !important; }
  .rdm-open-chip--mobile { display: inline-flex !important; align-self: flex-start !important; }
  .detail-tabs { border-radius: 999px !important; width: 100%; overflow-x: auto; }
  .detail-tab { white-space: nowrap; }
  .detail-grid { grid-template-columns: 1fr !important; }
  .rdm-hero-engage { gap: 0.95rem !important; row-gap: 0.6rem !important; }
  .rdm-engage-stat { padding-left: 0.85rem !important; }
}

@media (max-width: 640px) {
  .detail-container { padding: 4.5rem 1.25rem 1.5rem !important; }
  .rdm-hero-banner { height: 240px !important; border-radius: var(--pre-radius-md) !important; }
  .rdm-hero-body { flex-direction: row; align-items: flex-start; gap: 0.9rem; margin-top: -40px !important; }
  .rdm-artist-float { width: 110px !important; height: 150px !important; }
  .rdm-hero-info { padding-top: 18px !important; }
  .rdm-hero-title { font-size: 1.35rem !important; }
  .rdm-hero-artist { font-size: 0.95rem !important; }
  .rdm-event-status__actions { display: none !important; }
  .rdm-open-chip--mobile { display: inline-flex !important; align-self: flex-start !important; }
  .rdm-hero-stats--right { position: relative; top: auto; right: auto; left: auto; justify-content: flex-end; }
  .rdm-hero-stat { padding: 0.25rem 0.55rem !important; font-size: 0.65rem !important; }
  .detail-tabs { border-radius: 999px !important; gap: 0.2rem !important; }
  .detail-tab { font-size: 0.78rem !important; }
  .tab-label { display: none !important; }
  .detail-tab { padding: 0.55rem 0.75rem !important; }
  .rdm-hero-engage { gap: 0.85rem !important; row-gap: 0.55rem !important; }
  .rdm-engage-stat { padding-left: 0.75rem !important; font-size: 0.78rem !important; }
  .rdm-engage-stat:first-of-type { margin-left: 0.2rem !important; }
}
