@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');

:root {
    --fondo: rgb(251, 252, 255);
    --btnFondo: rgb(255, 255, 255);
    --btnBorde: rgb(248, 248, 248) 1px dotted;
    --txt: rgb(67, 68, 80);
}

::selection {
  background: #5e97bc;
  color: rgb(255, 255, 255);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    color: var(--txt);
    background-color: rgba(240, 248, 255, 0);
}

html {
    background-color: black;
}


.oculto {
    display: none;
}

body {
    overflow-y: scroll;
    overflow-x: hidden;
}



#fondo-fijo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background: url(imagenes/fondo-holding.jpg) center top / cover no-repeat;
}



#dolar-section {
    position: absolute;
    z-index: 1;
    width: 100%;
}

.big-container {
    max-width: 1108px;
    width: 99vw;
    margin: auto;
    position: relative;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    color: rgb(8, 8, 8);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    transition: .3s;
}




.txt-azul {
    color: rgb(48, 102, 143);
}



.txt-small {
    font-size: smaller;
}



header {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 20px;
    background-image: url(imagenes/banner.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}



.title-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

#logoAVFE {
    width: 8em;
    display: none;
}

h1 {
    font-size: clamp(14px, 3vw, 24px);
    color: lightblue;
    text-align: center;
}

h1 span {
    display: block;
    color: white;
}

.printerContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

#tipoDeCambio {
    width: 80%;
    max-width: 500px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin: 10px auto;
    color: rgb(70, 96, 80);
    color: white;
    background-color: rgba(29, 49, 49, 0.803);
}

#tipoDeCambioManual-container {
width: 90vw;
    max-width: 350px;
    margin: auto;
    background-color: rgb(40, 107, 151);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    display: none;
}

#dolar-section-alternativo {
    max-width: 1108px;
    margin: auto;
}

#dolar-section-alternativo #noFuePosible {
    display: block;
    text-align: center;
    color: rgb(206, 250, 31);
  background-color: rgba(0, 0, 0, 0.724);
    font-size: small;
    font-weight: 600;
    line-height: 50px;
    visibility: hidden;
}


#inputsContainer {
    max-width: 520px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border: var(--btnBorde);
    border-radius: 10px;
    padding: 0 5px;
    background-color: transparent;

}


label,
input {
    font-weight: 600;
    margin-left: 7px;
    color: aliceblue;
}

input {
    max-width: 110px;
    padding: 0 5px;
    margin: 10px 0;
    height: 30px;
    background-color: var(--fondo);
    border: var(--btnBorde);
    text-align: center;
    color: rgb(46, 46, 58);
}

.botones {
    background-color: var(--btnFondo);
    cursor: pointer;
    height: 35px;
    padding: 0 10px;
    user-select: none;
    border-radius: 5px;
    border: var(--btnBorde);
  
}

.botones:hover {
    background-color: rgb(254, 250, 250);
    transition: .1s;
    scale: 1.03;
}

.botones:active {
    scale: .97;
    transition: .1s;
    background-color: rgb(225, 222, 222);
}


#btnBorrar::after {
    content: '❌ Quitar';
}

#btnLimpiar::after {
    content: '🗑️ Limpiar';
}

#alertas {
    color: rgb(255, 9, 9);
    font-weight: 600;
    background-color: rgb(251, 255, 0);
    box-shadow: 0px 5px 5px rgba(138, 137, 137, 0.329);
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    width: 100%;
    max-width: 1100px;
    visibility: hidden;
    transition: .2s;
    text-align: center;
}


.txt-rojo {
    color: rgb(211, 7, 7);
}


/* ESTILOS - SECCIÓN TABLA */


#detalle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#tablaInstrumentos {
    border-collapse: collapse;
    text-align: center;
    margin: 10px 0 30px;
    z-index: 1;

}


#tablaInstrumentos th,
#tablaInstrumentos td {
    padding: 2px 5px;
    border-bottom: 1px dotted black;
}

#tablaInstrumentos td {
    background-color: white;
}

.transparente {
    background-color: transparent;
}

#tablaInstrumentos th {
    padding: 10px 10px;
    background-color: rgb(64, 125, 166);
    color: rgb(228, 236, 239)
}


#tablaInstrumentos tfoot td {
    padding: 3px 5px;
}

.resumenTabla {
    margin: auto;
    min-width: 300px;
    border-collapse: collapse;
}



.resumenTabla td {
    padding: 5PX 10px;
    background-color: white;
    border-bottom: 1px dotted black;
}

.resumenTabla td:first-child {
    text-align: right;
}

.resumenTabla td:last-child {
    text-align: center;
}

.borderTop {
    border-top: 1px dotted black;
}


.nota {
    font-size: smaller;

    text-align: center;
    opacity: 0;
    /*     transition: .1s; */
    padding-bottom: 20px;
}

.nota p {
    padding: 10px 20px;
    margin: 10px 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
}


#h4Resumen {
    width: 50%;
    padding: 5px 0;
}

.resParrafo {
    margin: 7px 0;
}

.blacky {
    font-weight: 600;
}

.cursiva {
    font-style: italic;
}


#tablaInstrumentos,
.nota,
#btnImprimir {
    transition: .1s;
}

#btnImprimir, #btnExportarExcel{
      max-width: 150px;
      border-radius: 5px;
      margin: auto;
}

#btnExportarExcel {
    margin-top: 10px;
}

#btnLimpiar {
    padding: 6px;
}


.volver-container {
    position: fixed;
    bottom: 20px;
    width: 100svw;
    display: flex;
    justify-content: end;
}

.volver {
    position: relative;
    right: 50px;
    font-weight: 600;
    text-decoration: none;
    padding-top: 5px;
}

.volver::after {
    content: "INICIO";
}


/*///////// VIEWPORTS < 992px  ///////*/
@media screen and (max-width: 992px) {


    label {
        color: white;
    }


    #btnBorrar::after {
        content: '❌';
    }

    #btnLimpiar {
        width: 40px;
    }

    #btnLimpiar::after {
        content: '🗑️';
    }


    input {
        color: black;
    }

    input {
        border: 1px solid gray;
    }

    #inputsContainer {
        background-color: rgba(5, 15, 21, 0.604);
        border: 1px dotted gray;
    }

    #btnImprimir {
        top: 15px;
    }


}


/*///////// VIEWPORTS MEDIANOS ///////*/

@media screen and (max-width: 690px) {



    #logoAVFE {
        min-width: 50px;

    }

    #tipoCambio {
        width: 80px;
        font-size: 14px;
    }

    .ocultoEnCelu {
        display: none;
    }

 /*    #btnImprimir {
        display: none !important;
    } */



    .detalle {
        display: flex;
        justify-content: center;
    }


}

/*///////// VIEWPORTS CHICOS (CELULARES) ///////*/

@media screen and (max-width: 450px) {

    * {
        font-family: "Archivo Narrow", 'Arial Narrow', Tahoma, Geneva, Verdana, sans-serif;

    }


    header {

        top: 0;
        padding: 0;
        z-index: 1;

        background-color: #21232a58;

        padding: 5px 20px;

        box-shadow: 0px 1px 8px rgba(128, 128, 128, 0.13);

    }


    #dolar-section-alternativo #noFuePosible {
        color: rgb(179, 255, 0);
        background-color: rgba(0, 0, 0, 0.719);
        font-size: large;
        line-height: 15px;
        margin-top: 0;
        margin-bottom: 10px;
        padding: 5px;


    }



    #inputsContainer {
        flex-direction: column;
        margin-bottom: 10px;
        padding: 10px;

    }

    label {
        text-transform: uppercase;
        font-size: 16px;
        margin-top: 5px;
    }

    #monto,
    #fecha {
        font-size: 20px;
        min-width: 200px;
        height: 30px;
        display: block;
        text-align: center;
        margin: 0;
    }

    #detalle {
        position: relative;
    }


    #btnAgregar {
        width: 200px;
        margin-top: 15px;

    }

    #btnAgregar::after {
        content: "SIMULAR";
    }



    .resumenTabla td {
        padding: 5PX 2px;
        background-color: white;
    }





    .nota {
        width: 90vw;
    }

    .nota p {
        padding: 10px;
        margin-bottom: 20px;
        color: white;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .volver {
        box-shadow: 1px 1px 5px grey;

    }


}

/*///////// VIEWPORTS MUY CHICOS (CELULARES VIEJOS) ///////*/

@media screen and (max-width: 320px) {


    #tablaInstrumentos th,
    #tablaInstrumentos td {
        padding: 0 3px;
        font-size: 14px;
    }


    
    .resumenTabla{
        scale: 0.9;
    }
}

/*//////  ESTILOS PARA IMPRESIÓN  //////*/

@media print {

    #logoAVFE {
        display: block;
    }

    #carga,
    .botones {
        display: none;
    }

    header {
        padding-top: 100px;
    }

    h1 {
        color: black;
        font-size: 20px;
        text-align: left;
    }

    #btnImprimir {
        display: none !important;
    }

}


/* ///// ESTILOS EXLUSIVOS PARA EL SPINNER DEL SIMU DE PAGARÉS  ////// */

#spinner {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1em;
    text-align: center;
}

.loader {
    border: 5px dotted #05080660;
    border-left: 5px solid #f3f3f300;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loader+span {
    color: white;
    /*   background-color: darkslategray; */
    text-shadow: 2px 2px 1px black;
    padding: 2px 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}