:root {
  --color-primario: #0f3d6e;
  --color-secundario: #198754;
  --color-acento: #d97706;
  --radio-tarjeta: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: #1e293b;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 2px 6px;
}

.hero-institucional {
  background: linear-gradient(135deg, var(--color-primario) 0%, #17569b 100%);
  color: #ffffff;
  border-radius: var(--radio-tarjeta);
  box-shadow: 0 12px 30px rgba(15, 61, 110, 0.16);
}

.card-moderna {
  border: 1px solid #e2e8f0;
  border-radius: var(--radio-tarjeta);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-moderna:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.stat-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.badge-estado {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  padding: 0.42em 0.75em;
  border-radius: 999px;
  font-size: 0.8rem;
}

.estado-presentada {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.estado-calificada {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.estado-pendiente {
  background-color: #ffedd5;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.estado-no-presentada {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.estado-revision {
  background-color: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #d8b4fe;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

@media print {
  .no-print, .navbar, footer, .btn {
    display: none !important;
  }
  body {
    background: #ffffff !important;
  }
  .card-moderna, .stat-card {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
  }
}
