@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #e3f6f5;
}

.nav-bar {
    background-color: #ffffff;
    color: #fff;
    padding: 10px;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-bar img {
    width: 100px;
    height: 75px;
    margin-left: 3rem;
}


main {
    padding: 15px;
}

.container-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.container-info h1 {
    font-size: 1rem;
}

.container-info p {
    font-size: 0.75rem;
}

.form_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

.form_container form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
}

.form_container form input {
    width: 75%;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #56A9DE;
    border-radius: 5px;
    font-size: 1rem;

}

.form_container form .btn-calcular {
    width: 50%;
    padding: 10px;
    margin: 5px 0;
    border: 3px solid #005a75;
    border-radius: 5px;
    background-color: #005a75;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.form_container form .btn-calcular:hover {
    background-color: white;
    ;
    color: #56A9DE;
    cursor: pointer;
    border: 3px solid #56A9DE;
}

.form_container form select {
    width: 75%;
    padding: 10px;
    margin: 5px 0;
    border: 3px solid #56A9DE;
    border-radius: 5px;
    font-size: 1rem;
}

.form_container form label {
    width: 25%;
    font-size: 1.25rem;
}

.fila {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
}

.recibo-container {
    display: flex;
    justify-content: space-around;

    flex-direction: row;
    margin-top: 20px;
    width: 100%;
}

.recibo-container .nomina {
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.recibo-container .nomina label {
    width: 50%;
    font-size: 0.75rem;
}

.recibo-container .nomina input {
    width: 50%;
    padding: 10px;
    margin: 5px 0;
    border: 3px solid #56A9DE;
    border-radius: 5px;
    font-size: 0.75rem;
}

.recibo-container .detalle-isr {
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.recibo-container .detalle-isr label {
    width: 50%;
    font-size: 0.75rem;
}

.recibo-container .detalle-isr input {
    width: 50%;
    padding: 10px;
    margin: 5px 0;
    border: 3px solid #56A9DE;
    border-radius: 5px;
    font-size: 0.75rem;
}

.recibo-container .detalle-imms {
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.recibo-container .detalle-imms label {
    width: 50%;
    font-size: 0.75rem;
}

.recibo-container .detalle-imms input {
    width: 50%;
    padding: 10px;
    margin: 5px 0;
    border: 3px solid #56A9DE;
    border-radius: 5px;
    font-size: 0.75rem;
}

.detalle-imms img {
    width: 4rem;
}

.detalle-isr img {
    width: 4rem;
}

#salario::-webkit-inner-spin-button,
#salario::-webkit-outer-spin-button,
#prima_riesgo::-webkit-inner-spin-button,
#prima_riesgo::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#salario.salario #prima_riesgo.prima_riesgo {
    -moz-appearance: textfield;
    /* Para Firefox */
}