/* FUENTE Y COLORES INSTITUCIONALES PNP */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --pnp-green-dark: #054a29;
    /* Verde Oscuro Policial */
    --pnp-green-light: #0a6b3d;
    /* Verde Hoja */
    --pnp-gold: #cbbe07;
    /* Dorado */
    --bg-gray: #f0f2f5;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-gray);
    color: #333;
}

/* TARJETAS (CONTENEDORES) */
.card-pnp {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

/* ENCABEZADOS DE LAS TARJETAS */
.card-header-pnp {
    background: linear-gradient(135deg, var(--pnp-green-dark) 0%, var(--pnp-green-light) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 4px solid var(--pnp-gold);
}

/* BOTONES GRANDES PARA MARCAR ASISTENCIA */
.btn-asistencia {
    height: 70px;
    /* Botones bien altos para tocar fácil */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}

.btn-asistencia:hover {
    transform: translateY(-3px);
    /* Efecto de elevación */
    filter: brightness(1.1);
}

.btn-asistencia:active {
    transform: translateY(0px);
}

/* COLORES DE LOS BOTONES */
.btn-ingreso {
    background-color: #198754;
    color: white;
    border: none;
}

/* Verde Éxito */
.btn-salida-ref {
    background-color: #fd7e14;
    color: white;
    border: none;
}

/* Naranja */
.btn-retorno-ref {
    background-color: #ffc107;
    color: #333;
    border: none;
}

/* Amarillo */
.btn-salida {
    background-color: #dc3545;
    color: white;
    border: none;
}

/* Rojo */

/* CAMPO DE DNI GIGANTE */
.input-dni-grande {
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 8px;
    font-weight: bold;
    height: 80px;
    border: 3px solid var(--pnp-green-dark);
    border-radius: 12px;
    background-color: #f8fdf9;
    width: 100%;
}

.input-dni-grande:focus {
    box-shadow: 0 0 0 5px rgba(5, 74, 41, 0.2);
    outline: none;
    border-color: var(--pnp-green-light);
}

/* TABLAS (PARA EL REPORTE EN INDEX) */
.table-pnp thead {
    background-color: var(--pnp-green-dark);
    color: white;
}

.table-pnp th {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}