/* =========================================================================
   Sistema PRD - Seguimiento de Inscripciones
   Hoja de estilos personalizada sobre Bootstrap 5
   ========================================================================= */

:root {
    --prd-azul: #003366;
    --prd-azul-claro: #0a4b8c;
    --prd-blanco: #ffffff;
}

body {
    background-color: #f4f6f9;
}

/* --- Navbar -------------------------------------------------------------- */
.prd-navbar {
    background-color: var(--prd-azul);
}

/* --- Colores institucionales ---------------------------------------------- */
.text-prd { color: var(--prd-azul) !important; }
.bg-prd   { background-color: var(--prd-azul) !important; color: #fff; }

.btn-prd {
    background-color: var(--prd-azul);
    border-color: var(--prd-azul);
    color: #fff;
}
.btn-prd:hover,
.btn-prd:focus {
    background-color: var(--prd-azul-claro);
    border-color: var(--prd-azul-claro);
    color: #fff;
}

/* --- Login ----------------------------------------------------------------- */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--prd-azul) 0%, var(--prd-azul-claro) 100%);
    padding: 1rem;
}
.login-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1rem;
}

/* --- Tarjetas de resumen y de cortes ---------------------------------------- */
.resumen-card, .corte-card {
    border-radius: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.resumen-card:hover, .corte-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.corte-card .input-cantidad {
    font-weight: 700;
}

.progress {
    border-radius: 50px;
    overflow: hidden;
    background-color: #e9ecef;
}
.progress-bar {
    transition: width 0.4s ease;
}

/* --- Tabla de áreas ---------------------------------------------------------- */
.fila-area:hover {
    filter: brightness(0.97);
}
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* --- Botones ------------------------------------------------------------------ */
.btn {
    transition: all 0.15s ease;
}
.btn:hover {
    transform: translateY(-1px);
}

/* --- Utilidades responsive ---------------------------------------------------- */
@media (max-width: 576px) {
    .display-6 { font-size: 1.6rem; }
}
