/* ============================= */
/* FONDO GENERAL */
/* ============================= */

body {
    background-color: #f8f9fa;
}

/* ============================= */
/* LAYOUT GENERAL */
/* ============================= */

#contenedor {
    display: flex;
    align-items: flex-start;
}

/* Laterales */
#publicidad_lateral_1,
#publicidad_lateral_2 {
    width: 225px;
    min-height: 200vh;
    background-color: #e9eef4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

/* Centro */
#contenido_central {
    flex: 1;
    padding: 40px 20px;
}

/* ============================= */
/* TITULO */
/* ============================= */

#tituloPrincipal {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 20px;
}

#tituloPrincipal h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #343a40;
    margin-top: 15px;
}

/* ============================= */
/* PORTADA */
/* ============================= */

#img_portada {
    width: 20%;
    height: auto;
    margin-top: 20px;
}

/* ============================= */
/* VIDEO */
/* ============================= */

#link_video_tutorial {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ============================= */
/* CONTENEDOR PRINCIPAL */
/* ============================= */

#contenedorCalculadoraIndemnizacion {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ============================= */
/* TITULOS BLOQUES */
/* ============================= */

#contenedorCalculadoraIndemnizacion h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #343a40;
    font-weight: 500;
}

/* ============================= */
/* INPUTS */
/* ============================= */

.inputContainer {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.inputContainer label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
}

input[type="date"],
input[type="number"],
input[type="text"] {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    background-color: white;
}

/* focus */

input[type="date"]:focus,
input[type="number"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.15);
}

/* readonly */

input[readonly] {
    background-color: #f1f3f5;
    font-weight: 600;
}

/* ============================= */
/* RESULTADO TOTAL */
/* ============================= */

#contenedorTotal {
    margin-top: 25px;
}

.totalContainer input {
    font-size: 1.1rem;
    text-align: center;
}

/* ============================= */
/* BOTONES */
/* ============================= */

#botonesCalculadora {
    margin-top: 30px;

    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

#botonesCalculadora button {
    padding: 10px 20px;

    border-radius: 8px;
    border: 1px solid #0d6efd;

    background-color: #0d6efd;
    color: white;

    font-weight: 500;

    transition: all 0.2s ease;
}

#botonesCalculadora button:hover {
    background-color: #0b5ed7;
}

/* ============================= */
/* HR */
/* ============================= */

hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background-color: #dee2e6;
}

/* ============================= */
/* DONACION */
/* ============================= */

#cartelDonacion {
    position: fixed;
    top: 215px;
    right: 2.5px;

    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;
}

#textoDonacion {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

#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;

    text-decoration: none;
}

#btnDonar:hover {
    background-color: #007bb5;
    transform: scale(1.03);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1100px) {

    #publicidad_lateral_1,
    #publicidad_lateral_2 {
        display: none;
    }

    #contenido_central {
        width: 100%;
        padding: 20px;
    }

    #img_portada {
        width: 45%;
    }

    #contenedorCalculadoraIndemnizacion {
        padding: 20px;
    }

}