/* =============================================
   KEHILÁ — pages.css
   Layout principal: sidebar, bottom nav, page headers
   ============================================= */

/* ─── APP LAYOUT ─── */
.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  z-index: var(--z-sidebar);
  overflow: hidden;
  border-right: 1px solid rgba(0,0,0,0.15);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.sidebar-inner::-webkit-scrollbar { display: none; }

/* Logo */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.15);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-logo-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.sidebar-logo-text {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.sidebar-logo-sub {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: -2px;
}

/* User en sidebar */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-user .avatar {
  width: 32px;
  height: 32px;
  font-size: 0.7rem;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 0.625rem;
  color: var(--color-gold);
  text-transform: capitalize;
}

/* Navegación */
.sidebar-nav {
  flex: 1;
  padding: var(--spacing-sm) 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-group-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 14px 18px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  position: relative;
  border-left: 2px solid transparent;
  font-size: 0.8125rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

.nav-item:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.07);
}

.nav-item:hover svg {
  opacity: 1;
}

.nav-item.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  border-left-color: var(--color-gold);
  font-weight: 500;
}

.nav-item.active svg {
  opacity: 1;
  color: var(--color-gold-light);
}

.nav-item .nav-badge {
  margin-left: auto;
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 18px;
}

/* Admin item */
.nav-item.admin-item {
  color: rgba(201,168,76,0.8);
}
.nav-item.admin-item:hover, .nav-item.admin-item.active {
  color: var(--color-gold);
  background: rgba(201,168,76,0.1);
}
.nav-item.admin-item.active {
  border-left-color: var(--color-gold);
}

/* Logout en sidebar */
.sidebar-footer {
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-left: 3px solid transparent;
}
.sidebar-logout svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sidebar-logout:hover {
  color: var(--color-danger);
  background: rgba(239,68,68,0.08);
}

/* Ocultar sidebar en móvil */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}

/* ─── BOTTOM NAV (móvil) ─── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(27,46,94,0.08);
  z-index: var(--z-sidebar);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }
}

.bottom-nav-items {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 6px;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  font-size: 0.65rem;
  font-weight: 500;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item span {
  font-size: 0.6rem;
  white-space: nowrap;
}

.bottom-nav-item.active {
  color: var(--color-gold);
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}

.bottom-nav-more {
  /* Botón de "más" en bottom nav */
}

/* ─── PAGE HEADER ─── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.page-header-left {
  flex: 1;
  min-width: 0;
}

.page-header-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-header-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

.page-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .page-header {
    flex-direction: column;
  }
  .page-header-actions {
    width: 100%;
  }
  .page-header-actions .btn {
    flex: 1;
  }
  .page-title { font-size: 1.35rem; }
}

/* ─── LOGIN PAGE ─── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--color-bg);
}

.login-panel {
  flex: 0 0 480px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-3xl) var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.login-hero {
  flex: 1;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.login-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(201,168,76,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.login-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 420px;
}

.login-hero-title {
  font-family: var(--font-brand);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.login-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  text-align: left;
}

.login-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
}

.login-feature-dot {
  width: 24px;
  height: 24px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-feature-dot svg {
  width: 12px;
  height: 12px;
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .login-page {
    flex-direction: column;
  }
  .login-hero {
    display: none;
  }
  .login-panel {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow: none;
  }
}

/* ─── SECTION ─── */
.section {
  margin-bottom: var(--spacing-2xl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

.section-link {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { color: var(--color-gold-dark); }

/* ─── EVENTO CARD ─── */
.evento-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.evento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.evento-date-strip {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.evento-day {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
}

.evento-month-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.evento-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.evento-time {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.evento-body {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.evento-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.evento-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}

.evento-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.evento-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--color-gold);
}

/* ─── NOTICIA CARD ─── */
.noticia-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--spacing-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.noticia-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.noticia-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
  flex-shrink: 0;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.noticia-content { flex: 1; min-width: 0; }
.noticia-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
}
.noticia-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.noticia-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ─── USER ROW (admin) ─── */
.user-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.user-row:hover {
  background: var(--color-bg);
}

.user-row-info { flex: 1; min-width: 0; }
.user-row-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}
.user-row-email {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.user-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ─── CALENDARIO ─── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 8px 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
  position: relative;
  min-height: 60px;
}

.calendar-day:hover { background: var(--color-bg); }

.calendar-day.today {
  background: var(--color-primary);
  color: var(--color-white);
}

.calendar-day.has-event::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--color-gold);
  border-radius: 50%;
  position: absolute;
  bottom: 6px;
}

.calendar-day-number {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.calendar-day.other-month .calendar-day-number {
  color: var(--color-text-light);
}

/* ─── RESPONSIVE UTILITIES ─── */
@media (max-width: 768px) {
  .hide-mobile   { display: none !important; }
  .show-mobile   { display: flex !important; }
}
@media (min-width: 769px) {
  .hide-desktop  { display: none !important; }
  .show-desktop  { display: flex !important; }
}

/* ═══════════════════════════════════════════
   REGISTRO — 4 pasos
   ═══════════════════════════════════════════ */

/* ─── Progress steps bar ─── */
.reg-steps-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

/* Franja de fondo (track completo) */
.steps-track {
  position: absolute;
  top: 13px; /* mitad del círculo (28px / 2) */
  left: 14px;
  right: 14px;
  height: 3px;
  background: #e5e7eb;
  border-radius: 2px;
  z-index: 0;
  overflow: hidden;
}

/* Franja dorada que avanza */
.steps-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold) 0%, #d97706 100%);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 3px white; /* halo blanco para separar del track */
}

.step.active .step-circle {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 3px white, 0 0 0 4px var(--color-primary);
}

.step.completed .step-circle {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 0 0 3px white;
}

.step-label {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.step.active .step-label { color: var(--color-primary); font-weight: 700; }
.step.completed .step-label { color: var(--color-gold-dark); }

/* Ocultar los step-line viejos (reemplazados por steps-track) */
.step-line { display: none; }

/* ─── Password strength ─── */
.password-strength-bar {
  display: flex;
  gap: 3px;
  margin-top: 6px;
}

.password-strength-bar .strength-segment {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background 0.2s ease;
}

.password-strength-bar.strength-1 .strength-segment:nth-child(1) { background: #ef4444; }
.password-strength-bar.strength-2 .strength-segment:nth-child(-n+2) { background: #f97316; }
.password-strength-bar.strength-3 .strength-segment:nth-child(-n+3) { background: #d97706; }
.password-strength-bar.strength-4 .strength-segment { background: #16a34a; }

.strength-text {
  font-size: 11px;
  margin-top: 3px;
  font-weight: 600;
}

/* ─── Upload zone ─── */
.upload-zone {
  border: 1.5px dashed #d1d5db;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #f9fafb;
}

.upload-zone:hover {
  border-color: var(--color-primary);
  background: #eef2ff;
}

.upload-zone.dragover {
  border-color: var(--color-primary);
  background: #e0e7ff;
  transform: scale(1.01);
}

.upload-zone.has-file {
  border-style: solid;
  border-color: var(--color-gold);
  background: #fffbeb;
}

.upload-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 8px 0 4px;
}

.upload-subtitle { font-size: 13px; color: var(--color-text-muted); }

.upload-formats {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 0.03em;
}

/* ─── Info banner ─── */
.reg-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.5;
}

/* ─── Spinner ─── */
.reg-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: regSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes regSpin { to { transform: rotate(360deg); } }

/* ─── Checkboxes y radios ─── */
.reg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.reg-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--color-primary);
}

.reg-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.1s;
}

.reg-radio-label:hover { background: var(--color-bg); }
.reg-radio-label input[type="radio"] { accent-color: var(--color-primary); }

/* ─── Form hint ─── */
.form-hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
  display: block;
}

/* ─── Reg link (botón inline) ─── */
.reg-link {
  background: none;
  border: none;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  font-family: inherit;
}

/* ─── Summary card ─── */
.reg-summary-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px;
}

.summary-section {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
}

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

.summary-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-dark);
  margin-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 4px;
}

.summary-row span { color: var(--color-text-muted); }
.summary-row strong { color: var(--color-text); text-align: right; max-width: 60%; word-break: break-word; }

/* ─── Declaration box ─── */
.reg-declaration {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.55;
}

/* ─── Confirmation ─── */
.reg-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  animation: checkPop 0.4s ease;
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.reg-conf-card {
  background: var(--color-primary);
  border-radius: 10px;
  padding: 20px;
  color: white;
}

.reg-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.reg-timeline-item.done { color: var(--color-gold); }
.reg-timeline-item.pending { color: rgba(255,255,255,0.45); }

.reg-timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Admin pending cards ─── */
.pending-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: white;
}

.pending-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
}

.pending-card-header:hover { background: var(--color-bg); }

.pending-card-body {
  display: none;
  padding: 16px;
  border-top: 1px solid var(--color-border-light);
  background: #fafafa;
}

.pending-card-body.open { display: block; }

.pending-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .pending-detail-grid { grid-template-columns: 1fr; }
}

.pending-detail-row {
  font-size: 13px;
}

.pending-detail-row .label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.pending-detail-row .value {
  color: var(--color-text);
  font-weight: 500;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.risk-badge.verde { background: #dcfce7; color: #15803d; }
.risk-badge.amarillo { background: #fef9c3; color: #854d0e; }
.risk-badge.rojo { background: #fee2e2; color: #b91c1c; }
