﻿/* ===========================================================
   SISTEMA DE REPORTES IAYC
   Archivo: estilos.css
   ===========================================================*/

/*----------- ESTILOS GENERALES -----------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background: #f4f6f9;
    color: #333;
}

/*----------- CONTENEDOR PRINCIPAL -----------*/

.contenedor-principal {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*----------- CABECERA -----------*/

.encabezado {
    height: 65px;
    background: #1f2937;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.titulo-sistema {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: .5px;
}

.usuario {
    font-size: 15px;
}

/*----------- CUERPO -----------*/

.cuerpo {
    display: flex;
    flex: 1;
}

/*----------- MENU -----------*/

.menu-lateral {
    width: 250px;
    background: #374151;
    color: white;
    min-height: calc(100vh - 65px);
    padding-top: 20px;
}

/*----------- TITULO MENU -----------*/

.titulo-menu {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.20);
}

/*----------- OPCIONES -----------*/

.menu-item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    transition: .25s;
    font-size: 15px;
}

    .menu-item:hover {
        background: #2563eb;
        color: white;
        padding-left: 28px;
    }

/*----------- CONTENIDO -----------*/

.contenido {
    flex: 1;
    padding: 30px;
    background: white;
}

/*----------- TITULOS -----------*/

h1 {
    color: #1f2937;
    margin-bottom: 10px;
}

h2 {
    color: #374151;
}

/*----------- TARJETAS -----------*/

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    transition: .30s;
}

    .card:hover {
        transform: translateY(-5px);
    }

/*----------- BOTONES -----------*/

.btn {
    border-radius: 6px;
}

/*----------- RESPONSIVE -----------*/

@media(max-width:900px) {

    .cuerpo {
        flex-direction: column;
    }

    .menu-lateral {
        width: 100%;
        min-height: auto;
    }
}
///
///
///
///
///
///
///
///
///
///
/*======================================================
    MODULO DE REPORTES
======================================================*/
.contenedor-reporte {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0,0,0,.10);
}

.filtros {
    margin-top: 20px;
    margin-bottom: 20px;
}

.fila {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.campo {
    width: 200px;
}

.campo-empleado {
    flex: 1;
}

.botones {
    display: flex;
    gap: 10px;
}
.contenido {
    flex: 1;
    padding: 35px;
}


/*======================================
    TITULOS
======================================*/

.titulo-reporte {
    margin-bottom: 25px;
}

    .titulo-reporte h2 {
        color: #1E3A8A;
        margin-bottom: 5px;
    }

.subtitulo {
    color: gray;
    font-size: 14px;
}

/**\\\\\\\\\
\\\\\\\\\\\\
\\\\\\\\\\\\
\\\\\\\\\\\\**/

/*======================================
    TARJETAS
======================================*/

.card-reporte {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0,0,0,.10);
    margin-bottom: 25px;
}

/**//*/////////
////////*//**/
/*======================================
BOTONERA
======================================*/

.botonera {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/**/
/**/
/**/
/*======================================
ENCABEZADO GRID
======================================*/

.encabezado-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .encabezado-grid h4 {
        margin: 0;
        color: #1E3A8A;
    }

/**/
/**/
/*======================================
EMPLEADOS
======================================*/

.empleados-seleccionados {
    display: block;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #DADADA;
    border-radius: 8px;
    background: #F8F9FA;
    min-height: 60px;
}
/**/
/**/
/**/
/*==========================
MODAL
===========================*/

.modal-empleados {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    z-index: 9999;
}

.modal-contenido {
    background: white;
    width: 650px;
    margin: 70px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.modal-titulo {
    font-size: 22px;
    font-weight: bold;
}

.lista-empleados {
    height: 300px;
    overflow: auto;
    border: 1px solid #DDD;
    padding: 15px;
}