/* ============================================================
   YoTeCuido — Design System
   Plataforma de cuidado domiciliario verificado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── VARIABLES ──────────────────────────────────────────── */
:root {
  /* Paleta principal */
  --ytc-azul: #1A3C5E;
  --ytc-azul-medio: #2B5F8E;
  --ytc-azul-claro: #3B82C4;
  --ytc-verde: #2E9E6B;
  --ytc-verde-claro: #4CAF7D;
  --ytc-verde-suave: #E8F5EE;
  --ytc-blanco: #FFFFFF;
  --ytc-gris-claro: #F4F7FA;
  --ytc-gris: #8FA3B8;
  --ytc-gris-oscuro: #4A5568;
  --ytc-texto: #1E2D3D;

  /* Semáforo */
  --ytc-success: #2E9E6B;
  --ytc-warning: #F59E0B;
  --ytc-danger: #EF4444;

  /* Espaciado */
  --ytc-radius: 14px;
  --ytc-radius-sm: 8px;
  --ytc-shadow: 0 4px 24px rgba(26, 60, 94, 0.10);
  --ytc-shadow-hover: 0 8px 40px rgba(26, 60, 94, 0.18);

  /* Transiciones */
  --ytc-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET Y BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ytc-texto);
  background-color: var(--ytc-gris-claro);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.ytc-navbar {
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 100%);
  box-shadow: 0 2px 20px rgba(26, 60, 94, 0.3);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ytc-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ytc-blanco) !important;
  letter-spacing: -0.5px;
}

.ytc-navbar .navbar-brand span.accent {
  color: var(--ytc-verde-claro);
}

.ytc-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem !important;
  border-radius: var(--ytc-radius-sm);
  transition: var(--ytc-transition);
}

.ytc-navbar .nav-link:hover,
.ytc-navbar .nav-link.active {
  color: var(--ytc-blanco) !important;
  background: rgba(255,255,255,0.15);
}

.ytc-navbar .btn-registro {
  background: var(--ytc-verde);
  border: none;
  color: white !important;
  font-weight: 600;
  padding: 0.45rem 1.2rem !important;
}

.ytc-navbar .btn-registro:hover {
  background: var(--ytc-verde-claro);
  transform: translateY(-1px);
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.ytc-hero {
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 50%, #1E5799 100%);
  color: white;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.ytc-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.ytc-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(78, 175, 125, 0.1);
  pointer-events: none;
}

.ytc-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.ytc-hero h1 .highlight {
  color: var(--ytc-verde-claro);
}

.ytc-hero .lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.ytc-card {
  background: var(--ytc-blanco);
  border-radius: var(--ytc-radius);
  box-shadow: var(--ytc-shadow);
  border: none;
  transition: var(--ytc-transition);
  overflow: hidden;
}

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

.ytc-card .card-header {
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 100%);
  color: white;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border: none;
}

.ytc-card .card-header.verde {
  background: linear-gradient(135deg, var(--ytc-verde) 0%, var(--ytc-verde-claro) 100%);
}

.ytc-card .card-body {
  padding: 1.5rem;
}

/* Card de cuidador con glassmorphism */
.ytc-card-cuidador {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 60, 94, 0.08);
  border-radius: var(--ytc-radius);
  box-shadow: var(--ytc-shadow);
  transition: var(--ytc-transition);
  overflow: hidden;
  position: relative;
}

.ytc-card-cuidador::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ytc-azul), var(--ytc-verde));
}

.ytc-card-cuidador:hover {
  box-shadow: var(--ytc-shadow-hover);
  transform: translateY(-4px);
}

/* ─── STAT CARDS (Dashboard) ─────────────────────────────── */
.ytc-stat-card {
  background: white;
  border-radius: var(--ytc-radius);
  padding: 1.5rem;
  box-shadow: var(--ytc-shadow);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--ytc-transition);
}

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

.ytc-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ytc-stat-icon.azul { background: rgba(26, 60, 94, 0.1); color: var(--ytc-azul); }
.ytc-stat-icon.verde { background: rgba(46, 158, 107, 0.1); color: var(--ytc-verde); }
.ytc-stat-icon.naranja { background: rgba(245, 158, 11, 0.1); color: var(--ytc-warning); }
.ytc-stat-icon.rojo { background: rgba(239, 68, 68, 0.1); color: var(--ytc-danger); }

.ytc-stat-valor {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ytc-azul);
}

.ytc-stat-label {
  font-size: 0.8rem;
  color: var(--ytc-gris);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ─── SEMÁFORO DOCUMENTAL ────────────────────────────────── */
.semaforo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.semaforo-badge.success { background: rgba(46, 158, 107, 0.12); color: var(--ytc-verde); }
.semaforo-badge.warning { background: rgba(245, 158, 11, 0.12); color: #D97706; }
.semaforo-badge.danger { background: rgba(239, 68, 68, 0.12); color: var(--ytc-danger); }
.semaforo-badge.secondary { background: rgba(107, 114, 128, 0.1); color: #6B7280; }

.semaforo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.semaforo-badge.success .semaforo-dot { background: var(--ytc-verde); }
.semaforo-badge.warning .semaforo-dot { background: #D97706; }
.semaforo-badge.danger .semaforo-dot { background: var(--ytc-danger); animation: pulse-dot 1.5s infinite; }
.semaforo-badge.secondary .semaforo-dot { background: #9CA3AF; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* ─── BOTONES ─────────────────────────────────────────────── */
.btn-ytc-primary {
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 100%);
  color: white;
  border: none;
  border-radius: var(--ytc-radius-sm);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: var(--ytc-transition);
  letter-spacing: 0.2px;
}

.btn-ytc-primary:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(26, 60, 94, 0.4);
}

.btn-ytc-verde {
  background: linear-gradient(135deg, var(--ytc-verde) 0%, var(--ytc-verde-claro) 100%);
  color: white;
  border: none;
  border-radius: var(--ytc-radius-sm);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: var(--ytc-transition);
}

.btn-ytc-verde:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 158, 107, 0.4);
}

.btn-ytc-outline {
  border: 2px solid var(--ytc-azul);
  color: var(--ytc-azul);
  background: transparent;
  border-radius: var(--ytc-radius-sm);
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  transition: var(--ytc-transition);
}

.btn-ytc-outline:hover {
  background: var(--ytc-azul);
  color: white;
  transform: translateY(-1px);
}

/* ─── FORMULARIOS ───────────────────────────────────────── */
.ytc-form .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ytc-gris-oscuro);
  margin-bottom: 0.4rem;
}

.ytc-form .form-control,
.ytc-form .form-select {
  border: 1.5px solid #D1DBE8;
  border-radius: var(--ytc-radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  transition: var(--ytc-transition);
  background: var(--ytc-blanco);
}

.ytc-form .form-control:focus,
.ytc-form .form-select:focus {
  border-color: var(--ytc-azul-claro);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.15);
  outline: none;
}

.ytc-form textarea.form-control { min-height: 100px; }

/* ─── PÁGINA AUTH ─────────────────────────────────────────── */
.ytc-auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 60%, #1E5799 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.ytc-auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(78, 175, 125, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.ytc-auth-box {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.ytc-auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.ytc-auth-logo .brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ytc-azul);
  letter-spacing: -0.5px;
}

.ytc-auth-logo .brand span { color: var(--ytc-verde); }

/* ─── SIDEBAR (DASHBOARD) ───────────────────────────────── */
.ytc-sidebar {
  background: white;
  border-radius: var(--ytc-radius);
  box-shadow: var(--ytc-shadow);
  padding: 1.5rem 1rem;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.ytc-sidebar .nav-link {
  color: var(--ytc-gris-oscuro);
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: var(--ytc-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--ytc-transition);
  font-size: 0.9rem;
}

.ytc-sidebar .nav-link:hover {
  background: var(--ytc-gris-claro);
  color: var(--ytc-azul);
}

.ytc-sidebar .nav-link.active {
  background: linear-gradient(135deg, rgba(26, 60, 94, 0.08), rgba(43, 95, 142, 0.08));
  color: var(--ytc-azul);
  font-weight: 600;
}

.ytc-sidebar .nav-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.ytc-sidebar-section {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ytc-gris);
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}

/* ─── ESTADO BADGES ──────────────────────────────────────── */
.badge-estado {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.badge-estado.pendiente { background: rgba(245, 158, 11, 0.12); color: #D97706; }
.badge-estado.activo { background: rgba(46, 158, 107, 0.12); color: var(--ytc-verde); }
.badge-estado.aprobado { background: rgba(46, 158, 107, 0.12); color: var(--ytc-verde); }
.badge-estado.rechazado { background: rgba(239, 68, 68, 0.12); color: var(--ytc-danger); }
.badge-estado.suspendido { background: rgba(239, 68, 68, 0.12); color: var(--ytc-danger); }
.badge-estado.publicada { background: rgba(59, 130, 196, 0.12); color: var(--ytc-azul-claro); }
.badge-estado.en_curso { background: rgba(46, 158, 107, 0.12); color: var(--ytc-verde); }
.badge-estado.finalizada { background: rgba(107, 114, 128, 0.1); color: #6B7280; }
.badge-estado.borrador { background: rgba(107, 114, 128, 0.1); color: #9CA3AF; }

/* ─── FEATURES SECTION (HOME) ───────────────────────────── */
.ytc-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(26, 60, 94, 0.08), rgba(43, 95, 142, 0.1));
  color: var(--ytc-azul);
  transition: var(--ytc-transition);
}

.ytc-feature-card:hover .ytc-feature-icon {
  background: linear-gradient(135deg, var(--ytc-azul), var(--ytc-azul-medio));
  color: white;
  transform: scale(1.05);
}

/* ─── STEPS (COMO FUNCIONA) ──────────────────────────────── */
.ytc-step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
}

.ytc-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ytc-azul), var(--ytc-azul-medio));
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 60, 94, 0.3);
}

/* ─── PERFIL DEL CUIDADOR ────────────────────────────────── */
.ytc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ytc-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ytc-azul) 0%, var(--ytc-azul-medio) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Estrellas de evaluación */
.ytc-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ─── TABLAS ─────────────────────────────────────────────── */
.ytc-table {
  background: white;
  border-radius: var(--ytc-radius);
  overflow: hidden;
  box-shadow: var(--ytc-shadow);
}

.ytc-table table {
  margin: 0;
}

.ytc-table thead th {
  background: var(--ytc-azul);
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 1rem;
}

.ytc-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-color: #EEF2F7;
  font-size: 0.9rem;
}

.ytc-table tbody tr:hover { background: var(--ytc-gris-claro); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.ytc-footer {
  background: var(--ytc-azul);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.ytc-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.ytc-footer a:hover { color: var(--ytc-verde-claro); }

.ytc-footer .brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.ytc-footer .brand span { color: var(--ytc-verde-claro); }

.ytc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ─── ALERTS Y MENSAJES FLASH ───────────────────────────── */
.alert {
  border: none;
  border-radius: var(--ytc-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-success { background: rgba(46, 158, 107, 0.1); color: #1A6645; }
.alert-danger { background: rgba(239, 68, 68, 0.1); color: #B91C1C; }
.alert-warning { background: rgba(245, 158, 11, 0.1); color: #92400E; }
.alert-info { background: rgba(59, 130, 196, 0.1); color: #1E3A5F; }

/* ─── LOADING / SPINNERS ─────────────────────────────────── */
.ytc-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(26, 60, 94, 0.2);
  border-top-color: var(--ytc-azul);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ─── ANIMACIONES ENTRADA ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.4s ease forwards; }

/* ─── RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .ytc-hero h1 { font-size: 2rem; }
  .ytc-hero { padding: 3rem 0 4rem; }
  .ytc-auth-box { padding: 1.75rem; }
  .ytc-stat-card { padding: 1rem; }
  .ytc-stat-valor { font-size: 1.5rem; }
  .ytc-sidebar { position: relative; top: 0; margin-bottom: 1.5rem; }
}

/* ─── UTILIDADES ──────────────────────────────────────────── */
.text-azul { color: var(--ytc-azul) !important; }
.text-verde { color: var(--ytc-verde) !important; }
.bg-azul-suave { background: rgba(26, 60, 94, 0.06); }
.bg-verde-suave { background: var(--ytc-verde-suave); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.rounded-ytc { border-radius: var(--ytc-radius); }
.shadow-ytc { box-shadow: var(--ytc-shadow); }

/* Page header */
.ytc-page-header {
  background: white;
  border-radius: var(--ytc-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--ytc-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ytc-page-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ytc-azul);
  margin: 0;
}

.ytc-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ytc-azul);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ytc-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(26,60,94,0.2), transparent);
  border-radius: 1px;
}

/* ─── STEPS ──────────────────────────────────────────── */
.ytc-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.ytc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A3C5E, #2B5F8E);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ─── FEATURE ICON ───────────────────────────────────── */
.ytc-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26,60,94,0.1), rgba(43,95,142,0.15));
  color: #1A3C5E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* ─── RATING BUTTONS ─────────────────────────────────── */
.btn-check:checked + label[for^="puntualidad"],
.btn-check:checked + label[for^="trato"],
.btn-check:checked + label[for^="presentacion"],
.btn-check:checked + label[for^="cumplimiento"],
.btn-check:checked + label[for^="confianza"],
.btn-check:checked + label[for^="claridad"],
.btn-check:checked + label[for^="condiciones"],
.btn-check:checked + label[for^="riesgos"] {
  background: linear-gradient(135deg, #1A3C5E, #2B5F8E) !important;
  color: white !important;
  border-color: #1A3C5E !important;
}

/* ─── BG AZUL SUAVE ──────────────────────────────────── */
.bg-azul-suave {
  background: rgba(26,60,94,0.06);
  border-radius: var(--ytc-radius-sm);
  padding: 1rem;
}

/* ─── COLORES UTILITARIOS ────────────────────────────── */
.text-verde { color: var(--ytc-verde); }
.text-azul { color: var(--ytc-azul); }

/* ─── BADGE ESTADO EXTRAS ────────────────────────────── */
.badge-estado.familiar { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.aprobado { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.publicada { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.borrador { background: rgba(143,163,184,0.15); color: #8FA3B8; }
.badge-estado.en_curso { background: rgba(59,130,196,0.15); color: #3B82C4; }
.badge-estado.programada { background: rgba(59,130,196,0.15); color: #3B82C4; }
.badge-estado.finalizada { background: rgba(26,60,94,0.1); color: #1A3C5E; }
.badge-estado.observado { background: rgba(245,158,11,0.15); color: #D97706; }
.badge-estado.rechazado { background: rgba(239,68,68,0.1); color: #EF4444; }
.badge-estado.completado { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.pagado { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.pendiente { background: rgba(245,158,11,0.15); color: #D97706; }
.badge-estado.vencido { background: rgba(239,68,68,0.1); color: #EF4444; }
.badge-estado.confirmada { background: rgba(46,158,107,0.15); color: #2E9E6B; }
.badge-estado.realizada { background: rgba(26,60,94,0.1); color: #1A3C5E; }
.badge-estado.cancelada { background: rgba(239,68,68,0.1); color: #EF4444; }

/* ─── NARANJA STAT ICON ──────────────────────────────── */
.ytc-stat-icon.naranja {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
}
.ytc-stat-icon.rojo {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
}

/* ─── HIGHLIGHT ──────────────────────────────────────── */
.highlight {
  color: var(--ytc-verde);
  position: relative;
}
