﻿/*==============================
    DASHBOARD
===============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI';
    background: #eef2f7;
}

/*----------------------*/

.dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*----------------------*/

.header {
    height: 65px;
    background: #1e3a8a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,.20);
}

/*----------------------*/

.principal {
    display: flex;
    min-height: calc(100vh - 65px);
}

.sidebar {
    min-height: 100%;
}

/*----------------------*/

.sidebar {
    width: 260px;
    background: #273142;
    color: white;
    padding-top: 20px;
}

/*----------------------*/

.menu-titulo {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/*----------------------*/

.grupo {
    padding: 12px 20px;
    background: #202938;
    font-weight: bold;
}

/*----------------------*/

.grupo-menu a {
    display: block;
    padding: 12px 35px;
    color: white;
    text-decoration: none;
    transition: .3s;
}

    /*----------------------*/

    .grupo-menu a:hover {
        background: #2563eb;
    }

/*----------------------*/

.contenido {
    flex: 1;
    padding: 35px;
    background: white;
}

.contenido {
    width: 100%;
    overflow: auto;
}

/* =========================================
   MODAL SELECCIONAR EMPLEADOS
   ========================================= */

.modal-contenido {
    display: none;
    position: fixed !important;
    z-index: 99999 !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}


/* =========================================
   TÍTULO
   ========================================= */

.modal-titulo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}


/* =========================================
   LISTA DE EMPLEADOS
   ========================================= */

.lista-empleados {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
}

/* =========================================
   FONDO DEL MODAL
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998 !important;
}

/* =========================================
   MODAL SELECCIONAR EMPLEADOS
   ========================================= */

.modal-empleados-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}


    /* Ventana del selector */

    .modal-empleados-overlay .modal-contenido {
        position: relative;
        width: 420px;
        max-width: 90%;
        max-height: 80vh;
        background: white;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
        overflow-y: auto;
    }


    /* Título */

    .modal-empleados-overlay .modal-titulo {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }


    /* Lista de empleados */

    .modal-empleados-overlay .lista-empleados {
        max-height: 400px;
        overflow-y: auto;
        border: 1px solid #ddd;
        padding: 10px;
    }

/* =========================================
   MODAL SELECCIONAR EMPLEADOS
   ========================================= */

.modal-empleados-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999 !important;
}


    .modal-empleados-overlay .modal-contenido {
        position: relative;
        width: 420px;
        max-width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        background: white;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 100000 !important;
    }