*, *::before, *::after {
  box-sizing: border-box;
}

a {
    color: black;
    text-decoration: none;

}

input,
textarea,
select{
    padding: 0 0.3em 0em 0.3em;
    height: 2em;
    border: 1px solid rgb(143, 143, 157);
    border-radius: 0.5em;
    border-collapse: collapse;
}

input,
textarea {
    width: 100%;
    font-size: 1em;
}

textarea{
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
    font-size: 1rem;
    resize: none;
    height: 6em;
}


select{
    background-color: rgb(240, 240, 240);
    font-size: 1em;
}

select:disabled{
    background-color: rgb(200, 200, 200);
}

@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'FiraCode';
    src: url('fonts/FiraCode-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'NunitoSans';
    src: url('fonts/NunitoSans.ttf') format('truetype');
}

@font-face {
    font-family: 'Comfortaa';
    src: url('fonts/Comfortaa.ttf') format('truetype');
}

body{
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15em;
    font-weight: 400;
    margin: 0 auto;
    padding: 0.5em;
    display: none;
}

input, select{
    font-family: 'Quicksand', sans-serif;
    font-weight: 650;
}

h1{
    font-weight: 550;
    margin-bottom: 0;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0.3em;
}

h2{
    font-size: 1.2em;
    font-weight: 550;
    margin-top: 0;
    margin-bottom: 0.3em;
}

label {
    display: block;
    margin-top: 0.3em;
}

.horizontal{
    display:flex;
    gap: 0.5em;
}

.horBox{
    width: 50%;
}

.bloco{
    display: table;
    min-width: 0;
    width: auto;
    max-width: 100%;
    margin: auto;
    border: 1px solid #bbbbbb;
    border-radius: 1em;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15), /* X-offset, Y-offset, blur, color */
        inset 0 2px 4px rgba(255, 255, 255, 0.33);
    padding: 0.5em;
    padding-bottom: 0.8em;
    margin-top: 1em;
    margin-bottom: 1em;
}

#encabezamiento{
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
}

#tituloMenu,
#opcionesMenu{
    max-width: 10em;
    margin: auto;
    text-align: center;
    border:rgb(143, 143, 157) 1px solid;
    user-select: none;
    cursor: pointer;
    padding: 0.5em;
}

.opcionMenu {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.opcionMenu:hover {
    text-decoration: underline;
}

#tituloMenu{
    line-height: 2em;
    font-weight: 550;
    border-radius: 0.3em 0.3em 0.3em 0.3em;
    height: 2em;
    position: relative;
}

.tituloMenu{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#flechaMenu{
    text-align: right;
}

#opcionesMenu{
    border-top-style: none;
    border-radius: 0 0 0.3em 0.3em;
    line-height: 2em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.opcionSeleccionadaMenu{
    color: gray;
    cursor: default;
}

.opcionSeleccionadaMenu:hover{
    text-decoration: none;
}

.cerrarSesion{
    color: rgb(226, 6, 19);
}

.sinElegicion{
    font-weight: 450;
}

#primero{
    margin-top: 0;
}

#nacionalidad,
#antiguedad{
    max-width: 100%;
}



#logo{
    display: block;
    width: 100%;
    max-width: 600px;
    margin: auto;
    margin-bottom: 0.5em;
}

.divTelefono{
    display: flex;
    width: 100%;
    align-items: center;
}

.divTelefono:not(:first-child) {
    column-gap: 0.3em;
}

.telefono{
    min-width: 0;
    flex: 1;
}

.prefijo{
    width: 2.5em;
}

button,
.botonFoto {
    background-color: #f1f1f1;
    border: 1px solid #bbbbbb;
    border-radius: 0.75em;
    height: 2.25em;
    padding: 0em 1em 0em 1em;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15), /* X-offset, Y-offset, blur, color */
        inset 0 2px 4px rgba(255, 255, 255, 0.33);
    font: inherit;
    font-weight: 550;

    cursor: pointer;
    display: block;
    line-height: 2em;
    width: 8em;
}

.boton {
    display: flex;
    border: 1px solid #434343;
    justify-content: center;
    align-items: center;
    object-fit: none;
    background-color: white;
    cursor: pointer;
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 0.5em;
}

.boton:hover {
    background-color: rgb(240, 240, 240);
}

.botonAcciones {
    cursor: pointer;
}

.botonFirma {
    width: 5em;
    position: fixed;
    transform: rotate(270deg)  translateY(-50%);
    transform-origin: center;
    right: -2em;
    top: 3em;
    display: none;
    z-index: 9999;
}

#firmaLimpiar {
    right: -2em;
    top: 9em;
}

.botonConfirmar,
.botonAtras {
    margin: auto;
    margin-top: 0.5em;
}

.botonAtras{
    color: black;
}

input.reserva, select.reserva{
    width: 6.5em;
}
#fraccion.reserva {
    width: 14em;
}

select.editarUsuario {
    width: 100%;
}

.previsualizacion{
    height: 2em;
    width: 4em;
    border: 1px solid rgb(143, 143, 157);
    border-radius: 0.3em;
    object-fit: contain;
}

.imgUpload{
    display: flex;
    align-items: center; 
    column-gap: 2em;
    padding: 0;
    margin-bottom: 0.5em;
}

.firma{
    position: fixed;
    inset: 0;
    width: 100vw;
    /* max-width: 500px; */
    height: 100vh;
    z-index: 9990;
    touch-action: none;
    cursor:crosshair;
}

#antiguedad,
#sueldo,
#telefonoReferencias2,
#prefijoReferencias2,
#profesion,
#boletaDeposito,
#envioBoletaDeposito,
#boletaDepositoLabel,
#imgBoletaDeposito{
    margin-bottom: 0;
}

#envioBoletaDeposito{
    padding-top: 0.5em;
}

.adjuntos{
    margin: 0;
    border: none;
    align-items: center;
}

.adjuntos tr{
    background-color: white !important;
}

#minutero {
    text-align: center;
    position: fixed;
    top: 1em;
    right: 1em;
    background-color: black;
    color: white;
    padding: 0.3em 0.5em;
    width: 5em;
    height: 2em;
    line-height: 1.5em;
    border-radius: 1em;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

#filtroFecha,
#filtroVendedor,
#filtroUsuario,
#filtroSupervisor,
#filtroTipo,
#filtrar_button,
#reporte,
#rendiciones {
    margin-bottom: 1em;
}

#rendiciones td:not(:last-child) {
    border-right: 1px solid rgb(143, 143, 157);
}

#rendiciones td:nth-child(2),
#rendiciones td:nth-child(6),
#rendiciones td:nth-child(7){
  text-align: center;
}

#fechaInicio,
#fechaFin {
    width: auto;
}

.tiempoReservas {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

#usuarios td:last-child {
    text-align: center;
}






table {
    display: table;
    background-color: white;
    border: 1px solid rgb(143, 143, 157);
    border-radius: 0.5em;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto; 
}

table th,
table td {
    padding: 0.3em;
}

table th:not(:last-child) {
    border-right: 1px solid rgb(143, 143, 157);
}

table th {
    border-bottom: 1px solid rgb(143, 143, 157);
}

table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.proprioSupervisor{
    color: #005e7c;
    font-weight: 700;
}

#vendidos th:not(:last-child) {
    cursor: pointer;
    user-select: none;
}

#reporte {
    border: none;
}

#reporte tr{ 
    background-color: white;
}




input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}



#bloqueoLoading {
    display: flex;
    background-color: rgb(255, 255, 255);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

#animacionLoading {
  border: 8px solid white;
  border-top: 8px solid #007093;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  z-index: 9999;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}