*{
    font-family: 'Times New Roman', Times, serif;
}
::-webkit-scrollbar{
    display: none;
}
.receiptModal{
    position: fixed;
    
    top: 0;
    left: 0;
    z-index: 1;


    min-height: 100%;
    width: 100%;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin: 0px;

    background-color: rgba(0, 0, 0, 0.9);

    overflow-y: scroll;
    inset: 0;
}

.receiptModal button:hover{
    cursor: pointer;
    animation: hoverup;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}
@keyframes hoverup {
    from{
        transform: translateY(0px);
    }
    to{
        transform: translateY(-2px);
        background: rgba(255,255,255,.3)
    }
}

.closeModalButton{
    position: absolute;
    padding: 10px;
    
    right: 10px;
    top: 10px;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;
}


.container{
    margin: 0px;
    padding: 0px;

    padding-bottom: 10px;


    max-height: 90vh;
    width: fit-content;
    min-width: 60%;

    display: flex;
    flex-direction: column; 
    


    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(10,16,30,.86);

    overflow-x: hidden;
}


.container .header{

    height: fit-content;

    padding: 7px;

    display: flex;
    flex-direction: column;

    color: white;
}
.header h2, .header p{
    margin: 0px;
    padding: 0px;
}

.container section{
    width: 100%;


    margin: 0px;
    padding-bottom: 7px;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-evenly;



    border-color: rgba(255,255,255,.3);
    border-left: transparent;
    border-right: transparent;
    border-top: transparent;
    border-width: 1px;
    border-style: solid;
}

.container .field{
    margin: 0px;

    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.field label{
    color: white;
}
.field input{
    padding-left: 7px;
    padding-right: 5px;

    caret-color: white;

    color: white;

    height: 30px;
    min-width: 300px;

    font-size: 16px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
}

input:focus,textarea:focus,.field select{
    outline: none;
}

.field select{
    color: white;
    min-width: 300px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
}

.field textarea{
    resize: none;

    margin: 0px;
    padding-left: 5px;

    text-align: start;

    min-width: 55rem;
    height: 100px;
    
    font-size: 18px;
    color: white;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    
    border-radius: 14px;
}


.total{
    width: 95%;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;

    margin: 0px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.total div{
    margin: 0px;
    
    padding: 7px;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;

    color: white;
}

.total div p, .total div strong{
    margin: 3px;
    padding: 0px;
}


.borderDown{
    border-color: white;
    border-left: transparent;
    border-right: transparent;
    border-top: transparent;
    border-bottom: white;
    border-width: 1px;
    border-style: solid;

}

.lastSection{
    border-bottom: transparent !important;
}



.lastSection button{
    padding: 10px;
    

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;
}

#reset{
    background-color: rgba(247, 48, 48, 0.5);
    padding: 10px;

    border: 1px solid rgba(255,255,255,.14);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;
}
#create{
    background-color: rgb(144, 243, 210, 0.5);

    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50px;
}

.receiptDialog{
    align-items: center;

    color: white;

    font-family: 'Times New Roman', Times, serif;

    border-radius: 16px;
    border-width: 1px;


    background: linear-gradient(225deg, #000040 0.000%, #001154 25.000%, #002671 50.000%, #003f96 75.000%, #005dc3 100.000%);
    animation-name: slowAppear;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

.receiptDialog button{
    padding: 10px;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .12s ease; 
    display: inline-flex;
    gap: 10px;
    align-items: center;

    font-weight: bold;

    color: white;

}

.receiptDialog button:hover{
    animation: hoverup;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

#fileName{
    display: block;

    margin-bottom: 5px;
    margin-top: 5px;

    padding-left: 7px;
    padding-right: 5px;

    caret-color: white;

    color: white;

    height: 30px;
    min-width: 300px;

    font-size: 16px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
}
@media screen and (max-width: 600px) {
    .header h2{
        font-size: 18px;
    }
    .header p{
        font-size: 12px;
    }
    ::-webkit-scrollbar{
        display: none;
    }
    .container{
    margin: 0px;
    padding: 0px;


    max-height: 80vh;
    width: fit-content;

    display: flex;
    flex-direction: column; 
    
    gap: 5px;


    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(10,16,30,.86);

    overflow-x: hidden;

    }

    .field input{
    padding-left: 7px;
    padding-right: 5px;

    caret-color: white;

    color: white;

    height: 30px;
    min-width: 150px;

    font-size: 16px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    }

    .field select{
    color: white;
    min-width: 150px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    }

    .field textarea{
    resize: none;

    min-width: 45dvh;
    height: 80px;
    }
    
    .savePdfModal{
        width: 60%;
    }

    .savePdfModal h1{
        font-size: 20px;

    }

    #fileName{

        margin-bottom: 7px;
        margin-top: 7px;

        min-width: 95%;
        width: fit-content;

    }

    .receiptDialog{
        width: 80%;
    }

    .receiptDialog h1{
        font-size: 20px;
    }
}
