body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Fondo institucional con degradado suave */
.bg-gradient-institucional {
    background: radial-gradient(circle at top left, #e0e7ff 0, #f5f7fb 40%, #e5f4ff 100%);
}

/* Capa sutil de textura */
.overlay-gradiente {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 0 0, rgba(76,111,255,0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(56,189,248,0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

/* Tarjeta glassmorphism */
.card-glass {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
}

/* Colores institucionales */
.text-primary-institucional {
    color: #1d4ed8;
}

.bg-soft-primary {
    background: rgba(37, 99, 235, 0.08);
}

/* Stats */
.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 12px 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, #4c6fff, #2563eb);
    border: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b5bdb, #1d4ed8);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #111827;
    background: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Tarjeta de felicitación */
.tarjeta-felicitacion {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(191, 219, 254, 0.8);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    font-size: 14px;
}

/* Firma */
.firma-img {
    max-height: 40px;
    opacity: 0.9;
}

/* Alert suave */
.alert-primary-soft {
    background: rgba(219, 234, 254, 0.9);
    border-color: rgba(191, 219, 254, 0.9);
    color: #1d4ed8;
}

/* Responsivo */
@media (max-width: 576px) {
    .card-glass {
        border-radius: 18px;
    }
}
