/* ============================= */
/* RESET SUAVE */
/* ============================= */

body {
    background-color: #f4f6f8;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #2f3a4a;
    margin: 0;
    padding: 0;
}

/* ============================= */
/* 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;
}

#contenedor_seccion_carga_planillas h6 {
    margin-top: 30px;
}


#calculadoraActualizcionMes{
    width: 100%;
}

/* ============================= */
/* 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,
#exportarUltimos120YPromedio {
    background-color: #b089a6;
}

#exportarTodasLasPlanillas:hover,
#exportarTodasLasPlanillasPorFecha:hover,
#exportarUltimos120YPromedio:hover {
    background-color: #9a6f8a;
}



#planillasPorRazonSocial,
#planillaUnificada,
#planillaUltimos120YPromedio {
    background-color: #a06a6a;
}

#planillasPorRazonSocial:hover,
#planillaUnificada:hover,
#planillaUltimos120YPromedio:hover {
    background-color: #875555;
}

#planillasPorRazonSocial {
    background-color: #8b4b4b;
    font-weight: 600;
    border: 2px solid #5e2f2f;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transform: scale(1.03);
}

#planillasPorRazonSocial:hover {
    background-color: #6f3a3a;
    box-shadow: 0 0 14px rgba(0,0,0,0.3);
    transform: scale(1.05);
}


.opcionSeleccionada {
    border: 2px solid #009ee3;
    box-shadow: 0 0 8px rgba(0, 158, 227, 0.4);
}
/* ============================= */
/* BLOQUES INTERNOS */
/* ============================= */


#menu_planillas_manuales,
#contenedor_generador_planilla {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

#sueldo{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

#sueldo_input{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#sueldo_output{
   /* width: 100%;*/
}
/* ============================= */
/* RESULTADO SUELDO */
/* ============================= */

#valorActualSueldo {
    margin-top: 15px;
    padding: 10px;
    background-color: #f0f4f8;
    border-radius: 8px;
}

#valorActualInput {
    background-color: #ffffff;
    font-weight: bold;
}


.seleccion_indice {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.opcionIndice {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.opcionIndice span {
    margin-bottom: 5px;
    font-weight: bold;
}

/* ============================= */
/* HR PERSONALIZADO */
/* ============================= */

hr {
    border: none;
    height: 1px;
    background: #d6dde5;
    margin: 30px 0;
}



/* ============================= */
/* LAYOUT CON FRANJAS REALES */
/* ============================= */

#contenedor {
    display: flex;
    align-items: flex-start;
}

/* Franjas laterales */
#publicidad_lateral_1,
#publicidad_lateral_2 {
    width: 225px;
    min-height: 100vh;
    background-color: #e9eef4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

/* Contenido central */
#contenedor > .text-center {
    flex: 1;
    padding: 40px 20px;
}


/* ============================= */
/* arreglos mios*/
/* ============================= */
.planillaInputContainer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#actualizarMes{
    justify-content: center;
}

#seleccionISBIC_planilla{
    display: none;
}

#seleccionISBIC_mes{
    display: none;
}



#menuProcesarPlanillas{
    display: flex;
    flex-direction: row;
    gap: 2px;
    justify-content: center;
}


.botonesExportar{
    padding: 1%;
}

/* Estado incial planillas ============================= */

#contendor_planillas_unificada{
    display: none;
}

#contendor_planillas_ultimos120_y_promedio{
    display: none;
}


.planilla-generada{
    width: max-content;
    align-self: center;
    justify-self: center;
}

#descargarPlanilla:disabled {
    background-color: #ccc;   /* gris */
    color: #666;              /* texto gris oscuro */
    cursor: not-allowed;      /* cursor bloqueado */
    opacity: 1;               /* evita transparencia fea */
    
    /* ❌ sin efectos */
    box-shadow: none;
    transform: none;
    filter: none;
}

#contendor_generador_planilla_archivo_primario{
    padding: 15px;
    display: flex;
}


#ultimo_inidice{
    display: none;
}

#ultimo_inidice {
    text-align: center;
}

#ultimo_inidice .leyenda-maximo {
    
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    display: none;
}
#ultimo_inidice .leyenda-minimo {
    
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    display: none;
}

#ultimo_inidice .rectangulo-maximo {
    width: 30px;
    height: 15px;
    background-color: #fff3cd;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#ultimo_inidice .rectangulo-minimo {
    width: 30px;
    height: 15px;
    background-color: #f8d7da;
    border: 1px solid #ccc;
    border-radius: 6px;
}


/*------------donacion----------*/
#cartelDonacion {
    position: fixed;
    top: 215px;
    right: 2.5px; /* 👉 ahora bien a la derecha */

    width: 220px;
    padding: 16px;

    background-color: #ffffff;
    color: #333;

    border-radius: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    z-index: 9999;
}

/* texto */
#textoDonacion {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}


/* botón azul estilo MercadoPago */


#btnDonar {
    width: 100%;
    padding: 10px;
    

    border: none;
    border-radius: 10px;

    background-color: #009ee3;
    color: white;

    font-weight: bold;
    cursor: pointer;

    transition: all 0.2s ease;
    margin-bottom: 10px;
}

#btnDonar:hover {
    background-color: #007bb5;
    transform: scale(1.05);
}

#btnDonar:active {
    transform: scale(0.97);

}

#btnDonar,
#btnDonar:hover,
#btnDonar:focus,
#btnDonar:active {
    text-decoration: none;
}


/*------------ fin donacion----------*/

#img_portada {
   width: 20%;
    height: auto;
    
    
}


#fecha_adquisicion_para_planillas_manuales{
        border: 2px solid green;
    padding: 10px;
    border-radius: 8px;
    margin: 10px;
}