/* ============================= */
/* RESET SUAVE */
/* ============================= */

body {
    background-color: #f4f6f8;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #2f3a4a;
    margin: 0;
    padding: 0;
}

.text-center {
    padding: 40px 20px;
}

/* ============================= */
/* TITULOS */
/* ============================= */

h1.display-4 {
    font-weight: 600;
    font-size: 3rem;
    color: #2e4057;
    margin-bottom: 10px;
}

h2 {
    font-weight: 300;
    font-size: 1.2rem;
    color: #5d6d7e;
    margin-bottom: 40px;
}

h3, h4, h5 {
    color: #34495e;
}

/* ============================= */
/* CONTENEDORES PRINCIPALES */
/* ============================= */

#mensual-container,
#contenedor_generador_planillas_manulaes,
#contenedor_seccion_carga_planillas {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 30px auto;
    max-width: 1100px;
}

/* ============================= */
/* SEPARADOR */
/* ============================= */

#separador_mensual_planilla {
    height: 2px;
    width: 80%;
    margin: 50px auto;
    background: linear-gradient(to right, #cfd9df, #e2ebf0);
}

/* ============================= */
/* INPUTS Y SELECT */
/* ============================= */

input[type="number"],
input[type="text"],
select {
    border: 1px solid #d5dce3;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
    background-color: #fdfefe;
    transition: all 0.2s ease-in-out;
}

input:focus,
select:focus {
    outline: none;
    border-color: #7b9acc;
    box-shadow: 0 0 0 3px rgba(123, 154, 204, 0.15);
}

/* ============================= */
/* BOTONES */
/* ============================= */

button {
    background-color: #7b9acc;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover {
    background-color: #5d7fa6;
    transform: translateY(-1px);
}

#generarPlanillaManual {
    background-color: #7fb8a4;
}

#generarPlanillaManual:hover {
    background-color: #5e9c88;
}

#exportarTodasLasPlanillas,
#exportarTodasLasPlanillasPorFecha {
    background-color: #b089a6;
}

#exportarTodasLasPlanillas:hover,
#exportarTodasLasPlanillasPorFecha:hover {
    background-color: #9a6f8a;
}

/* ============================= */
/* BLOQUES INTERNOS */
/* ============================= */

#sueldo,
#menu_planillas_manuales,
#contenedor_generador_planilla {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* ============================= */
/* RESULTADO SUELDO */
/* ============================= */

#valorActualSueldo {
    margin-top: 15px;
    padding: 10px;
    background-color: #f0f4f8;
    border-radius: 8px;
}

#valorActualInput {
    background-color: #ffffff;
    font-weight: bold;
}

/* ============================= */
/* HR PERSONALIZADO */
/* ============================= */

hr {
    border: none;
    height: 1px;
    background: #d6dde5;
    margin: 30px 0;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

    #sueldo,
    #menu_planillas_manuales,
    #contenedor_generador_planilla {
        flex-direction: column;
        align-items: stretch;
    }

    button {
        width: 100%;
    }
}


/* ============================= */
/* LAYOUT CON FRANJAS REALES */
/* ============================= */

#contenedor {
    display: flex;
    align-items: flex-start;
}

/* Franjas laterales */
#publicidad_lateral_1,
#publicidad_lateral_2 {
    width: 220px;
    min-height: 100vh;
    background-color: #e9eef4;
}

/* Contenido central */
#contenedor > .text-center {
    flex: 1;
}


/* ============================= */
/* arreglos mios*/
/* ============================= */
.planillaInputContainer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#actualizarMes{
    justify-content: center;
}