:root {
    --gptic-primary: #0b3d68;
    --gptic-secondary: #0d6efd;
    --gptic-accent: #20c997;
}

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.bg-gptic {
    background: linear-gradient(90deg, var(--gptic-primary), var(--gptic-secondary));
}

.card-indicador {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform .15s ease;
}
.card-indicador:hover { transform: translateY(-3px); }

.card-indicador .valor { font-size: 1.9rem; font-weight: 700; }

.bg-orange { background-color: #fd7e14 !important; }

.tabla-scroll {
    max-height: 620px;
    overflow-y: auto;
}

.tabla-scroll thead th {
    position: sticky;
    top: 0;
    background: var(--gptic-primary);
    color: #fff;
    z-index: 2;
}

.fila-alarma {
    animation: parpadeo 1.6s infinite;
    border-left: 5px solid #dc3545 !important;
}

@keyframes parpadeo {
    0%   { background-color: #fff3f3; }
    50%  { background-color: #ffdcdc; }
    100% { background-color: #fff3f3; }
}

.badge-categoria {
    font-size: .72rem;
    padding: .4em .7em;
}

.login-box {
    max-width: 420px;
    margin: 8vh auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: 2.5rem;
}

#reloj-refresco {
    font-variant-numeric: tabular-nums;
}

@media (min-width: 992px) {
    .col-2-4 { flex: 0 0 auto; width: 20%; }
}

.form-check-categoria {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: .75rem 1rem;
    margin-bottom: .5rem;
}
