/* Reset y Variables Globales */
:root {
  --primary-yellow: #f5b819;
  --primary-yellow-hover: #e0a713;
  --dark-bg: #121921;
  --dark-card: #1b2430;
  --dark-border: #2a3646;
  --dark-sidebar: #17202a;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --dark-text-main: #f3f4f6;
  --dark-text-muted: #9ca3af;
  --green-accent: #22c55e;
  --green-bg: #dcfce7;
  --orange-accent: #f97316;
  --blue-accent: #3b82f6;
  --purple-accent: #8b5cf6;
  --cyan-accent: #06b6d4;
  --font-family: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

body {
  background-color: #f3f4f6;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Demo Nav Bar Flotante Superior */
.demo-nav-bar {
  background: #0d131a;
  color: #fff;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.demo-tag {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-buttons {
  display: flex;
  gap: 12px;
}

.demo-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #d1d5db;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.demo-btn.active {
  background: var(--primary-yellow);
  color: #000;
  border-color: var(--primary-yellow);
  box-shadow: 0 2px 8px rgba(245, 184, 25, 0.4);
}

.badge-count {
  background: rgba(0,0,0,0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

/* Vistas */
.view-section {
  display: none;
  width: 100%;
}

.view-section.active-view {
  display: block;
}

/* =========================================================
   ESTILOS VISTA 1: FORMULARIO DE INSCRIPCIÓN
   ========================================================= */

.form-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: calc(100vh - 54px);
  background: #f8fafc;
}

/* Sidebar Izquierdo Poster */
.form-sidebar {
  background: linear-gradient(rgba(10, 15, 20, 0.75), rgba(10, 15, 20, 0.85)), url('assets/logo.evento.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow: 4px 0 15px rgba(0,0,0,0.15);
}

.form-sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(245, 184, 25, 0.15) 0%, rgba(10,15,20,0.92) 80%);
  z-index: 1;
}

.sidebar-content {
  position: relative;
  z-index: 2;
}

.event-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.edition-badge {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--primary-yellow);
  font-weight: 700;
  margin-bottom: 12px;
}

.sidebar-hero-title {
  font-size: 2.1rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sidebar-hero-title .highlight {
  color: var(--primary-yellow);
  font-size: 2.6rem;
  display: block;
}

.yellow-divider {
  width: 45px;
  height: 3px;
  background: var(--primary-yellow);
  margin-bottom: 12px;
}

.sidebar-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.35;
  margin-bottom: 24px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 184, 25, 0.4);
  background: rgba(245, 184, 25, 0.1);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.info-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.info-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Panel Principal Formulario */
.form-main-content {
  padding: 32px 40px;
  max-width: 1300px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-active .step-num {
  background: #000;
  color: #fff;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.step-active .step-label {
  color: #000;
}

.step-line {
  width: 30px;
  height: 2px;
  background: #e2e8f0;
}

/* Layout Grid Formulario */
.form-grid-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

/* Card Section Formulario */
.card-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.title-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.title-icon.yellow-bg {
  background: var(--primary-yellow);
  color: #000;
}

.section-title h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-right: 36px;
}

.input-with-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.input-with-icon .whatsapp-ic {
  color: #22c55e;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.radio-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.alert-info-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #713f12;
  font-size: 0.83rem;
  margin-top: 10px;
}

.alert-info-box i {
  color: var(--primary-yellow);
  font-size: 1rem;
}

/* Medios de Pago Grid */
.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.payment-option-btn {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.payment-option-btn input[type="radio"] {
  display: none;
}

.payment-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
  width: 100%;
}

.payment-btn-content i {
  font-size: 1.4rem;
  color: #64748b;
}

.payment-option-btn.whatsapp-payment .payment-btn-content i {
  color: #22c55e;
  font-size: 1.6rem;
}

.payment-option-btn.active,
.payment-option-btn:hover {
  border-color: var(--primary-yellow);
  background: #fffdf5;
  box-shadow: 0 4px 12px rgba(245, 184, 25, 0.15);
}

.payment-option-btn.active .payment-btn-content {
  color: #0f172a;
}

/* Timer Box en Resumen */
.timer-box {
  background: #fffbeb;
  border: 1px solid #fef08a;
  border-radius: 10px;
  padding: 12px;
  margin-top: 16px;
  text-align: center;
}

.timer-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.timer-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time-unit {
  background: #78350f;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-unit span {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.time-unit small {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fde68a;
  margin-top: 2px;
}

.timer-sep {
  font-size: 1.2rem;
  font-weight: 900;
  color: #b45309;
}

/* Actions Bar */
.form-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748b;
}

.privacy-note i {
  font-size: 1.2rem;
  color: #0f172a;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
}

.btn-primary {
  background: var(--primary-yellow);
  border: none;
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 800;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(245, 184, 25, 0.3);
}

.btn-primary:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-1px);
}

/* Columna Derecha Cards */
.form-right-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.summary-header {
  text-align: center;
  margin-bottom: 20px;
}

.logo-summary-icon {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.summary-header h4 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: #64748b;
  margin-bottom: 12px;
}

.summary-line strong {
  color: #0f172a;
}

.summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 16px 0;
}

.total-line {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.total-line strong {
  font-size: 1.2rem;
  color: #0f172a;
  font-weight: 900;
}

.secure-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #166534;
  font-size: 0.8rem;
  margin-top: 20px;
}

.secure-badge i {
  font-size: 1.3rem;
  color: #22c55e;
}

.help-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.help-card h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.help-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 14px;
}

.whatsapp-btn {
  background: #22c55e;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}


/* =========================================================
   ESTILOS VISTA 2: DASHBOARD DE ADMINISTRACIÓN (DARK MODE)
   ========================================================= */

.dashboard-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 54px);
  background: var(--dark-bg);
  color: var(--dark-text-main);
}

/* Sidebar Dark */
.dash-sidebar {
  background: var(--dark-sidebar);
  border-right: 1px solid var(--dark-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-brand {
  margin-bottom: 30px;
  text-align: center;
}

.dash-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 6px;
}

.dash-edition {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--primary-yellow);
  font-weight: 800;
}

.dash-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--dark-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.menu-item.active {
  background: rgba(245, 184, 25, 0.15);
  color: var(--primary-yellow);
  font-weight: 700;
  border-left: 3px solid var(--primary-yellow);
}

.menu-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.dash-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  flex-grow: 1;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.user-role {
  font-size: 0.72rem;
  color: var(--dark-text-muted);
}

/* Header TopBar Dark */
.dash-content {
  padding: 24px 32px;
  max-width: 1550px;
  width: 100%;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  background: transparent;
  border: 1px solid var(--dark-border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
}

.dash-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.dash-subtitle {
  font-size: 0.82rem;
  color: var(--dark-text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-info-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-card);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--dark-border);
}

.header-info-badge i {
  color: var(--primary-yellow);
  font-size: 1.1rem;
}

.header-info-badge strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
}

.header-info-badge span {
  font-size: 0.7rem;
  color: var(--dark-text-muted);
}

.notif-btn {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-yellow);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toolbar */
.dash-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.date-picker-filter {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-text-main);
  cursor: pointer;
}

.btn-refresh {
  background: var(--primary-yellow);
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: var(--primary-yellow-hover);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kpi-icon.yellow { background: rgba(245, 184, 25, 0.15); color: var(--primary-yellow); }
.kpi-icon.green { background: rgba(34, 197, 94, 0.15); color: var(--green-accent); }
.kpi-icon.orange { background: rgba(249, 115, 22, 0.15); color: var(--orange-accent); }
.kpi-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--blue-accent); }
.kpi-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--purple-accent); }
.kpi-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan-accent); }

.kpi-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--dark-text-muted);
  letter-spacing: 0.5px;
}

.kpi-value {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 4px 0;
}

.kpi-sub {
  font-size: 0.7rem;
  font-weight: 600;
}

.kpi-sub.positive { color: var(--green-accent); }
.kpi-sub.green-txt { color: var(--green-accent); }
.kpi-sub.orange-txt { color: var(--orange-accent); }
.kpi-sub.blue-txt { color: var(--blue-accent); }
.kpi-sub.purple-txt { color: var(--purple-accent); }

/* Charts Grid Responsivo */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.chart-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  min-width: 0; /* Previene desbordamiento */
}

.chart-header h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.chart-canvas-box {
  height: 180px;
  position: relative;
  width: 100%;
}

.chart-doughnut-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.canvas-container {
  position: relative;
  width: 130px;
  height: 130px;
}

.doughnut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.doughnut-center-text .total-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  display: block;
}

.doughnut-center-text .total-lbl {
  font-size: 0.65rem;
  color: var(--dark-text-muted);
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark-text-muted);
}

.legend-item strong {
  color: #fff;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.blue { background: var(--blue-accent); }
.dot.green { background: var(--green-accent); }
.dot.yellow { background: var(--primary-yellow); }

.chart-footer {
  text-align: right;
  margin-top: 10px;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--dark-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--primary-yellow);
}

/* Accesos Rápidos */
.quick-reports-section {
  margin-bottom: 24px;
}

.quick-reports-section h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.quick-reports-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.report-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.report-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

.report-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.report-box.yellow .report-icon { background: rgba(245, 184, 25, 0.15); color: var(--primary-yellow); }
.report-box.green .report-icon { background: rgba(34, 197, 94, 0.15); color: var(--green-accent); }
.report-box.blue .report-icon { background: rgba(59, 130, 246, 0.15); color: var(--blue-accent); }
.report-box.purple .report-icon { background: rgba(139, 92, 246, 0.15); color: var(--purple-accent); }
.report-box.orange .report-icon { background: rgba(249, 115, 22, 0.15); color: var(--orange-accent); }
.report-box.cyan .report-icon { background: rgba(6, 182, 212, 0.15); color: var(--cyan-accent); }

.report-content h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.report-content p {
  font-size: 0.68rem;
  color: var(--dark-text-muted);
  line-height: 1.2;
}

.report-arrow {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--dark-text-muted);
}

/* Grid Inferior Tabla + Alertas */
.bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.table-card, .alerts-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 18px;
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-top-bar h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.table-responsive {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  font-size: 0.72rem;
  color: var(--dark-text-muted);
  font-weight: 700;
  padding: 10px;
  border-bottom: 1px solid var(--dark-border);
}

.dash-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: var(--dark-text-main);
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.table-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.status-tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-block;
}

.status-tag.confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-accent);
}

.status-tag.pending {
  background: rgba(245, 184, 25, 0.15);
  color: var(--primary-yellow);
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.alert-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.alert-icon.warning { background: rgba(249, 115, 22, 0.2); color: var(--orange-accent); }
.alert-icon.info { background: rgba(59, 130, 246, 0.2); color: var(--blue-accent); }
.alert-icon.success { background: rgba(34, 197, 94, 0.2); color: var(--green-accent); }

.alert-info {
  flex-grow: 1;
}

.alert-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.alert-info p {
  font-size: 0.72rem;
  color: var(--dark-text-muted);
}

.alert-time {
  font-size: 0.68rem;
  color: var(--dark-text-muted);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #22c55e;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.dashboard-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 54px);
  background: var(--dark-bg);
  color: var(--dark-text-main);
  overflow-x: hidden;
}

.dash-content {
  padding: 24px 28px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Menú Hamburguesa en Demo Nav (Oculto en Escritorio) */
.demo-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--primary-yellow);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Botón Flotante de WhatsApp para Móvil */
.floating-whatsapp-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  background-color: #22c55e;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Responsive Media Queries Formulario y Dashboard */
@media (max-width: 1100px) {
  /* Formulario Layout Responsivo */
  .form-container { 
    grid-template-columns: 1fr !important; 
  }
  .form-sidebar { 
    padding: 24px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .yellow-divider {
    margin: 0 auto 12px auto;
  }
  .info-items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .form-main-content {
    padding: 24px 20px;
    max-width: 100%;
  }
  .form-grid-layout { 
    grid-template-columns: 1fr !important; 
  }
  
  /* El Resumen de Inscripción pasa al FINAL de todo en móvil/tablet */
  .form-right-cards {
    order: 10 !important; 
  }
  
  /* Ocultar tarjeta estática de ayuda y mostrar botón flotante verde */
  .help-card {
    display: none !important;
  }
  .floating-whatsapp-btn {
    display: flex !important;
  }

  /* Dashboard Layout */
  .dashboard-container { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-reports-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .demo-nav-bar {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .demo-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .demo-buttons {
    display: none; /* Oculto por defecto, se activa al presionar la hamburguesa */
    position: absolute;
    top: 100%;
    right: 16px;
    background: #0d131a;
    border: 1px solid var(--primary-yellow);
    border-radius: 10px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1001;
    width: 240px;
  }
  .demo-buttons.menu-open {
    display: flex !important;
  }
  .demo-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .form-row.cols-3 {
    grid-template-columns: 1fr !important;
  }
  .payment-options-grid {
    grid-template-columns: 1fr !important;
  }
  .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .form-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .stepper {
    width: 100%;
    justify-content: space-between;
  }
  .step-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .form-main-content {
    padding: 16px 12px;
  }
  .card-section {
    padding: 16px 12px;
  }
  .kpi-grid { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .quick-reports-grid { grid-template-columns: 1fr; }
  .action-buttons {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   NUEVOS ESTILOS VISTA INSCRIPCIONES (IDENTICO A MAQUETA)
   ========================================================= */

.header-top-nav {
  margin-bottom: 6px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.breadcrumb span {
  color: #f8fafc;
}

.dash-header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-header-main .dash-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-transform: uppercase;
}

.dash-header-main .dash-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 4px;
}

.highlight-yellow {
  color: var(--primary-yellow);
  font-style: italic;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-info-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-user-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.user-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-yellow);
}

.btn-new-registration {
  background: var(--primary-yellow);
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 184, 25, 0.3);
}

.btn-new-registration:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-1px);
}

/* Sidebar Footer Card */
.sidebar-footer-card {
  margin: auto 14px 14px 14px;
  background: rgba(245, 184, 25, 0.05);
  border: 1px dashed rgba(245, 184, 25, 0.25);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  color: var(--primary-yellow);
}

.sidebar-footer-card i {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.sidebar-footer-card p {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* 6 KPI Cards Grid */
.kpi-6-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #141c24;
  border: 1px solid #232e3c;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kpi-icon.yellow { background: rgba(245, 184, 25, 0.15); color: #f5b819; }
.kpi-icon.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.kpi-icon.orange { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.kpi-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.kpi-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.kpi-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }

.kpi-body {
  flex: 1;
  min-width: 0;
}

.kpi-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.kpi-sub {
  font-size: 0.72rem;
  font-weight: 500;
}

.kpi-sub.positive { color: #22c55e; }
.kpi-sub.green-txt { color: #22c55e; }
.kpi-sub.orange-txt { color: #f97316; }
.kpi-sub.blue-txt { color: #3b82f6; }
.kpi-sub.purple-txt { color: #8b5cf6; }

/* Split Layout */
.inscripciones-split-container {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
  align-items: start;
}

.inscripciones-left-col {
  min-width: 0;
}

/* Buscador y Toggle Filtros */
.search-filters-header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.search-box-input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-input .search-ic {
  position: absolute;
  left: 14px;
  color: #64748b;
  font-size: 0.9rem;
}

.search-box-input input {
  width: 100%;
  background: #141c24;
  border: 1px solid #232e3c;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px 10px 38px;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-box-input input:focus {
  border-color: var(--primary-yellow);
}

.btn-toggle-filters {
  background: #141c24;
  border: 1px solid #232e3c;
  color: #cbd5e1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-toggle-filters:hover {
  border-color: var(--primary-yellow);
  color: #fff;
}

/* Panel Filtros Avanzados */
.advanced-filters-panel {
  background: #141c24;
  border: 1px solid #232e3c;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.filter-group label {
  display: block;
  font-size: 0.73rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

.filter-group select {
  width: 100%;
  background: #0d131a;
  border: 1px solid #232e3c;
  color: #f8fafc;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.filter-group select:focus {
  border-color: var(--primary-yellow);
}

.date-range-box {
  display: flex;
  align-items: center;
  background: #0d131a;
  border: 1px solid #232e3c;
  border-radius: 6px;
  padding: 6px 10px;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.78rem;
}

.date-range-box input {
  background: transparent;
  border: none;
  color: #fff;
  width: 65px;
  padding: 0;
  font-size: 0.76rem;
  text-align: center;
  outline: none;
}

.filters-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-clear-filters {
  background: transparent;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-apply-filters {
  background: var(--primary-yellow);
  border: none;
  color: #000;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Toolbar previa a la tabla */
.table-meta-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.results-stats {
  font-size: 0.83rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.results-stats strong {
  color: #fff;
  font-weight: 600;
}

.sep-dot {
  color: #475569;
}

.tbl-tool-btn {
  background: #141c24;
  border: 1px solid #232e3c;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  transition: all 0.2s;
}

.tbl-tool-btn:hover {
  border-color: #334155;
  color: #fff;
}

/* Tabla Estilos Específicos */
.main-inscripciones-table-wrapper {
  background: #141c24;
  border: 1px solid #232e3c;
  border-radius: 10px;
  overflow-x: auto;
}

.inscripciones-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.inscripciones-table th {
  background: #19232f;
  color: #94a3b8;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 1px solid #232e3c;
}

.inscripciones-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.83rem;
  vertical-align: middle;
}

.runner-profile-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.runner-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.runner-name {
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 600;
}

.runner-email {
  color: #64748b;
  font-size: 0.73rem;
}

.runner-doc {
  color: #64748b;
  font-size: 0.73rem;
}

.runner-id {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.84rem;
}

/* Pills de Distancias */
.dist-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.74rem;
  text-align: center;
}

.dist-pill.dist-25k { background: #dc2626; color: #fff; }
.dist-pill.dist-18k { background: #2563eb; color: #fff; }
.dist-pill.dist-9k { background: #16a34a; color: #fff; }

.table-text-val {
  color: #cbd5e1;
}

.table-date-val {
  color: #94a3b8;
  font-size: 0.78rem;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.73rem;
}

.status-badge.confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.status-badge.pending {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.73rem;
}

.payment-badge.paid {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.payment-badge.pending {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}

.total-price-val {
  color: #f8fafc;
  font-weight: 600;
}

.table-row-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.action-ic-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.action-ic-btn:hover {
  color: #fff;
}

/* Estado Vacío de Tabla */
.empty-table-container {
  padding: 45px 20px !important;
  text-align: center;
}

.empty-state-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.empty-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #475569;
}

.empty-state-wrapper h4 {
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.empty-state-wrapper p {
  font-size: 0.82rem;
  color: #64748b;
}

/* Paginación Footer */
.table-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: #94a3b8;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-rows-per-page {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-rows-per-page select {
  background: #141c24;
  border: 1px solid #232e3c;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  background: #141c24;
  border: 1px solid #232e3c;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-btn.active {
  background: var(--primary-yellow);
  color: #000;
  border-color: var(--primary-yellow);
  font-weight: 700;
}

.page-dots {
  padding: 0 4px;
  color: #64748b;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-jump input {
  background: #141c24;
  border: 1px solid #232e3c;
  color: #fff;
  width: 45px;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.78rem;
}

/* Columna Derecha Sidebar Cards */
.inscripciones-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.right-panel-card {
  background: #141c24;
  border: 1px solid #232e3c;
  border-radius: 10px;
  padding: 16px;
}

.card-title-header h3 {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f8fafc;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.donut-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.canvas-donut-box {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 16px;
}

.donut-center-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.1;
}

.donut-center-text .total-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.donut-center-text .total-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
}

.donut-custom-legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.legend-dot.blue-dot { background: #3b82f6; }
.legend-dot.yellow-dot { background: #f5b819; }
.legend-dot.green-dot { background: #22c55e; }

.quick-reports-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.report-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #19232f;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #232e3c;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.report-list-item:hover {
  border-color: #334155;
  transform: translateX(2px);
}

.item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.green-icon { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.purple-icon { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.orange-icon { background: rgba(249, 115, 22, 0.15); color: #f97316; }

.item-text {
  flex: 1;
}

.item-text h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f8fafc;
}

.item-text p {
  font-size: 0.7rem;
  color: #64748b;
}

.item-arrow {
  color: #64748b;
  font-size: 0.75rem;
}

.btn-all-reports {
  width: 100%;
  background: transparent;
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow);
  padding: 9px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.btn-all-reports:hover {
  background: rgba(245, 184, 25, 0.1);
}

@media (max-width: 1280px) {
  .kpi-6-grid, .kpi-5-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .inscripciones-split-container {
    grid-template-columns: 1fr;
  }
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================================= */
/* ESTILOS DE LA PANTALLA PAGOS Y RECAUDOS */
/* ========================================================= */
.kpi-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card .kpi-sub.muted-txt {
  color: #9ca3af;
}

.pagos-filters-wrapper {
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.pagos-filters-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.pagos-filters-row.margin-top-10 {
  margin-top: 10px;
}

.flex-2 { flex: 2; }
.flex-1\.5 { flex: 1.5; }
.flex-1 { flex: 1; }

.date-range-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1f293d;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 7px 10px;
  color: #e5e7eb;
  font-size: 0.78rem;
}

.date-range-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.78rem;
  width: 80px;
  text-align: center;
}

.date-range-box i {
  color: #9ca3af;
  margin-left: auto;
}

.pagos-actions-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Pay Method Badges */
.pay-method-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pay-method-badge.pse { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.pay-method-badge.credit-card { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.pay-method-badge.transfer { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.pay-method-badge.nequi { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.pay-method-badge.daviplata { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.pay-method-badge.cash { background: rgba(245, 184, 25, 0.15); color: #f5b819; border: 1px solid rgba(245, 184, 25, 0.3); }

/* Table Footer Bar Pagos */
.pagos-table-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 10px;
  padding: 12px 18px;
  margin-top: 14px;
}

.footer-pagos-left-info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-pagos-left-info select {
  background: #1f293d;
  border: 1px solid #374151;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.v-sep {
  color: #374151;
}

.pagos-stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1f293d;
  padding: 4px 10px;
  border-radius: 6px;
}

.pagos-stat-pill.green .val-txt { color: #22c55e; font-weight: 700; }
.pagos-stat-pill.orange .val-txt { color: #f97316; font-weight: 700; }
.pagos-stat-pill.cyan .val-txt.big { color: #06b6d4; font-weight: 800; font-size: 0.9rem; }

/* Financial Breakdown */
.financial-breakdown-box {
  background: #131c27;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
}

.financial-breakdown-box h4 {
  font-size: 0.76rem;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.breakdown-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #d1d5db;
  padding: 4px 0;
}

.breakdown-line .sub-val {
  color: #f87171;
  font-weight: 600;
}

.breakdown-divider {
  height: 1px;
  background: #1f293d;
  margin: 8px 0;
}

.total-neto-line {
  font-size: 0.84rem;
  font-weight: 800;
}

.total-neto-line .neto-txt {
  color: #22c55e;
  font-size: 0.95rem;
}

/* Quick Action Buttons Stack */
.quick-actions-button-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-pago-action {
  width: 100%;
  background: #1f293d;
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-pago-action:hover {
  background: #2b384e;
  border-color: #4b5563;
  color: #fff;
}

.btn-pago-action.outline-yellow {
  background: transparent;
  border: 1px solid #f5b819;
  color: #f5b819;
}

.btn-pago-action.outline-yellow:hover {
  background: rgba(245, 184, 25, 0.1);
  color: #f5b819;
}

/* ========================================================= */
/* ESTILOS DE LA PANTALLA PARTICIPANTES (DIRECTORIO) */
/* ========================================================= */
.participantes-search-panel {
  background: #111827;
  border: 1px solid #1f293d;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.search-filters-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-tool-outline {
  background: #1f293d;
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-tool-outline:hover {
  background: #2b384e;
  color: #fff;
}

.part-advanced-filters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #1f293d;
}

.blue-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
}

.blue-link:hover {
  text-decoration: underline;
}

.goto-page-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #9ca3af;
}

.goto-page-box input {
  width: 36px;
  background: #1f293d;
  border: 1px solid #374151;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 3px;
  font-size: 0.78rem;
}

/* Distribución por Género Box */
.gender-distribution-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px 6px;
}

.gender-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gender-stat.male .gender-ic {
  font-size: 1.6rem;
  color: #3b82f6;
  margin-bottom: 4px;
}

.gender-stat.female .gender-ic {
  font-size: 1.6rem;
  color: #a855f7;
  margin-bottom: 4px;
}

.gender-count {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.gender-pct {
  font-size: 0.75rem;
  color: #9ca3af;
}

.gender-donut-canvas-box {
  width: 90px;
  height: 90px;
  position: relative;
}

.btn-part-action {
  width: 100%;
  background: #1f293d;
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-part-action:hover {
  background: #2b384e;
  border-color: #4b5563;
  color: #fff;
}

.btn-part-action.outline-yellow {
  background: transparent;
  border: 1px solid #f5b819;
  color: #f5b819;
}

.btn-part-action.outline-yellow:hover {
  background: rgba(245, 184, 25, 0.1);
  color: #f5b819;
}

@media (max-width: 1280px) {
  .part-advanced-filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================================= */
/* PANTALLA DE BLOQUEO (LOCK SCREEN PROTECTED GATE) */
/* ========================================================= */
.lock-screen-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, #152233 0%, #0b111a 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lock-screen-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-card {
  width: 100%;
  max-width: 440px;
  background: #111827;
  border: 1px solid rgba(245, 184, 25, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 184, 25, 0.15);
  overflow: hidden;
  text-align: center;
}

.lock-header {
  background: #0b111a;
  padding: 24px 20px;
  border-bottom: 1px solid #1f293d;
}

.lock-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 6px;
}

.lock-edition {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-yellow);
}

.lock-body {
  padding: 28px 24px;
}

.lock-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 184, 25, 0.15);
  border: 1px solid rgba(245, 184, 25, 0.4);
  color: var(--primary-yellow);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.lock-body h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.lock-body p {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.4;
  margin-bottom: 22px;
}

.lock-input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.lock-input-group .input-ic {
  position: absolute;
  left: 14px;
  color: #6b7280;
  font-size: 0.9rem;
}

.lock-input-group input {
  width: 100%;
  background: #1f293d;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 12px 42px;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.lock-input-group input:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 2px rgba(245, 184, 25, 0.2);
}

.btn-toggle-eye {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
}

.btn-toggle-eye:hover {
  color: #fff;
}

.lock-error-text {
  font-size: 0.78rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.btn-lock-submit {
  width: 100%;
  background: var(--primary-yellow);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-lock-submit:hover {
  background: #e0a716;
  transform: translateY(-1px);
}

.lock-footer {
  background: #0b111a;
  padding: 12px 20px;
  border-top: 1px solid #1f293d;
  font-size: 0.72rem;
  color: #6b7280;
}

.lock-footer strong {
  color: var(--primary-yellow);
}

.shake-anim {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.demo-btn.lock-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.demo-btn.lock-btn:hover {
  background: #ef4444;
  color: #fff;
}

