html {
    overflow: auto;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.icon-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}
.discount-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-sm {
    width: 2rem;
    height: 2rem;

}
.title{
    margin-bottom: 5vh;
}
.card{
    margin: auto;
    max-width: 61.25rem;
    width: 90%;
    box-shadow: 0 0.375rem 1.25rem 0 rgba(0, 0, 0, 0.19);
    border-radius: 1rem;
    border: transparent;
}
@media(max-width:50.9375rem){
    .card{
        margin: 3vh auto;
    }
}
.cart{
    background-color: #fff;
    padding: 4vh 5vh;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}
@media(max-width:47.9375rem){
    .cart{
        padding: 4vh;
        border-bottom-left-radius: unset;
        border-top-right-radius: 1rem;
    }
}
.summary{
    background-color: #ddd;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 4vh;
    color: rgb(65, 65, 65);
}
@media(max-width:47.9375rem){
    .summary{
        border-top-right-radius: unset;
        border-bottom-left-radius: 1rem;
    }
}
.summary .col-2{
    padding: 0;
}
.summary .col-10
{
    padding: 0;
}
.row{
    margin: 0;
}
.title b{
    font-size: 1.5rem;
}
.main{
    margin: 0;
    padding: 2vh 0;
    width: 100%;
}
.col-2, .col{
    padding: 0 1vh;
}
a{
    padding: 0 1vh;
}
.close{
    margin-left: auto;
    font-size: 0.7rem;
}
img{
    width: 3.5rem;
}
.back-to-shop{
    margin-top: 4.5rem;
}
h5{
    margin-top: 4vh;
}
hr{
    margin-top: 1.25rem;
}
form{
    padding: 2vh 0;
}
select{
    border: 0.0625rem solid rgba(0, 0, 0, 0.137);
    padding: 1.5vh 1vh;
    margin-bottom: 4vh;
    outline: none;
    width: 100%;
    background-color: rgb(247, 247, 247);
}
input{
    border: 0.0625rem solid rgba(0, 0, 0, 0.137);
    padding: 1vh;
    margin-bottom: 4vh;
    outline: none;
    width: 100%;
    background-color: rgb(247, 247, 247);
}
input:focus::-webkit-input-placeholder
{
    color:transparent;
}
.btn{
    background-color: #000;
    border-color: #000;
    color: white;
    width: 100%;
    font-size: 0.7rem;
    margin-top: 1vh;
    padding: 1vh;
    border-radius: 20px;
}
.btn:focus{
    box-shadow: none;
    outline: none;
    box-shadow: none;
    color: white;
    -webkit-box-shadow: none;
    -webkit-user-select: none;
    transition: none;
}
.btn:hover{
    color: white;
}
.btn:active{
    color:#2696BE;
}
/* CSS personalizzato */
.btn-custom {
    border-radius: 20px;
    min-width: 200px; /* Larghezza minima del bottone */
    min-height: 40px; /* Altezza minima del bottone */
}


a{
    text-decoration: none;
    color: black;
}
a:hover{
    color: black;
    text-decoration: none;
}
#code{
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.253) , rgba(255, 255, 255, 0.185)), url("https://img.icons8.com/small/16/000000/long-arrow-right.png");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.875rem;

}

.title {
    font-size: 0.9375rem;
}

.buttons {
    display: flex;
    align-items: center;
}

.buttons a {
    margin-left: 0.625rem;
    margin-right: 0.625rem;
}

.buttons a.border {
    border: 0.0625rem solid black;
    padding: 0.3125rem;
    border-radius: 0.3125rem;
}



#loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* nuova regola CSS per centrare il contenuto al centro */
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    width: 100px; /* Imposta la dimensione del tuo logo */
    height: auto;
    animation: pulse 1s infinite alternate; /* Animazione di pulsazione */
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}


body {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x pan-y;
}

/* Disabilita lo zoom su doppio tocco (pinch-to-zoom) */
@media (max-width: 47.9375rem) {
    body {
        touch-action: manipulation;
    }
}

/*nuovo footer*/
.fixed-footer {
    position: fixed;
    border-radius: 20px;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 10px 0;
}

.fixed-footer a {
    text-decoration: none;
    color: #000;
}

/* Nuove regole CSS per rendere il footer responsivo */
.fixed-footer .container {
    display: flex;
    height: 45px;
    justify-content: center;
    margin-bottom: 5px;

}

.footer-link {
    position: relative;
    display: inline-block;
    margin: 0 10px; /* Spazio tra le icone */
}

.underline {
    position: absolute;
    bottom: -6px; /* Posizione della linea sotto l'icona */
    left: 0;
    width: 100%;
    height: 2px; /* Spessore della linea */
    background-color: #2696BE; /* Colore della linea */
    opacity: 0; /* Inizialmente nascosta */
    transition: opacity 0.3s ease;
}

.footer-link.active .underline {
    opacity: 1; /* Mostra la linea quando la classe active è presente */
}



@media (max-width: 1400px) {
    .fixed-footer .row {
        flex-wrap: nowrap; /* Impedisce il wrapping su schermi più piccoli */
        overflow-x: auto; /* Aggiunge uno scorrimento orizzontale su schermi più piccoli */
    }

    .fixed-footer .col-4 {
        flex: 0 0 calc(25% - 10px); /* Imposta una larghezza fissa per gli elementi */
    }
}
/* Stile normale per schermi grandi */
.footer-text {
    margin-top: 0.25rem;
    margin-bottom: 0;
    font-size: 11px;  /* Modifica la dimensione del carattere a tuo piacimento */
    text-align: center;
}

/* Stile per schermi più piccoli (aggiungi o modifica come desideri) */
@media (max-width: 767px) {
    .footer-text {
        font-size: 10px;  /* Modifica la dimensione del carattere a tuo piacimento per dispositivi mobili */
    }
}
/* Stile normale per schermi grandi */
/* Stile normale per schermi grandi */
.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background-color: red;
    color: white;
    font-size: 8px;
    padding: 3px 6.5px;
    border-radius: 50%;
    display: none;
}
#login-form {
    max-width: 400px;
    margin: auto;
    margin-top: 50px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#login-form label {
    display: block;
    margin-bottom: 8px;
}

#login-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#login-form button {
    background-color: #2696BE;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    margin: 0 10px;
    text-decoration: none;
}

.logo-container img {
    height: 50px;
}

#login-form {
    max-width: 400px;
    margin: auto;
    margin-top: 50px;
    padding: 20px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#login-form h2 {
    color: #2696BE;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

#login-form label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
}

#login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

#login-form button {
    background-color: #2696BE;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

#login-form button:hover {
    background-color: #2696BE;
}

#first-access-link {
    text-align: center;
    margin-top: 15px;
    color: #2696BE;
    text-decoration: underline;
    cursor: pointer;
}
#recovery-password {
    text-align: center;
    margin-top: 15px;
    color: #2696BE;
    text-decoration: underline;
    cursor: pointer;
}
#step-slider {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
}
.step-line {
    height: 2px;
    background-color: #2696BE;
    flex: 1;
}
.active-dot {
    background-color: #2696BE;
}
#lineLogo {
    height: 50px;
    border-right: 2px solid black;
    margin: 15px 20px;
    display: inline-block;
}
.password-icon {
    width: 10px;
    position: relative;
    left: 90%;
    top: 50%;
    transform: translateY(-200%);
    cursor: pointer;
}

.password-icon i {html {
    overflow: auto;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

    .icon-shape {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        vertical-align: middle;
    }
    .discount-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .icon-sm {
        width: 2rem;
        height: 2rem;

    }
    .title{
        margin-bottom: 5vh;
    }
    .card{
        margin: auto;
        max-width: 61.25rem;
        width: 90%;
        box-shadow: 0 0.375rem 1.25rem 0 rgba(0, 0, 0, 0.19);
        border-radius: 1rem;
        border: transparent;
    }
    @media(max-width:50.9375rem){
        .card{
            margin: 3vh auto;
        }
    }
    .cart{
        background-color: #fff;
        padding: 4vh 5vh;
        border-bottom-left-radius: 1rem;
        border-top-left-radius: 1rem;
    }
    @media(max-width:47.9375rem){
        .cart{
            padding: 4vh;
            border-bottom-left-radius: unset;
            border-top-right-radius: 1rem;
        }
    }
    .summary{
        background-color: #ddd;
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
        padding: 4vh;
        color: rgb(65, 65, 65);
    }
    @media(max-width:47.9375rem){
        .summary{
            border-top-right-radius: unset;
            border-bottom-left-radius: 1rem;
        }
    }
    .summary .col-2{
        padding: 0;
    }
    .summary .col-10
    {
        padding: 0;
    }
    .row{
        margin: 0;
    }
    .title b{
        font-size: 1.5rem;
    }
    .main{
        margin: 0;
        padding: 2vh 0;
        width: 100%;
    }
    .col-2, .col{
        padding: 0 1vh;
    }
    a{
        padding: 0 1vh;
    }
    .close{
        margin-left: auto;
        font-size: 0.7rem;
    }
    img{
        width: 3.5rem;
    }
    .back-to-shop{
        margin-top: 4.5rem;
    }
    h5{
        margin-top: 4vh;
    }
    hr{
        margin-top: 1.25rem;
    }
    form{
        padding: 2vh 0;
    }
    select{
        border: 0.0625rem solid rgba(0, 0, 0, 0.137);
        padding: 1.5vh 1vh;
        margin-bottom: 4vh;
        outline: none;
        width: 100%;
        background-color: rgb(247, 247, 247);
    }
    input{
        border: 0.0625rem solid rgba(0, 0, 0, 0.137);
        padding: 1vh;
        margin-bottom: 4vh;
        outline: none;
        width: 100%;
        background-color: rgb(247, 247, 247);
    }
    input:focus::-webkit-input-placeholder
    {
        color:transparent;
    }
    .btn{
        background-color: #000;
        border-color: #000;
        color: white;
        width: 100%;
        font-size: 0.7rem;
        margin-top: 1vh;
        padding: 1vh;
        border-radius: 20px;
    }
    .btn:focus{
        box-shadow: none;
        outline: none;
        box-shadow: none;
        color: white;
        -webkit-box-shadow: none;
        -webkit-user-select: none;
        transition: none;
    }
    .btn:hover{
        color: white;
    }
    .btn:active{
        color:#2696BE;
    }
    /* CSS personalizzato */
    .btn-custom {
        border-radius: 20px;
        min-width: 200px; /* Larghezza minima del bottone */
        min-height: 40px; /* Altezza minima del bottone */
    }


    a{
        text-decoration: none;
        color: black;
    }
    a:hover{
        color: black;
        text-decoration: none;
    }
    #code{
        background-image: linear-gradient(to left, rgba(255, 255, 255, 0.253) , rgba(255, 255, 255, 0.185)), url("https://img.icons8.com/small/16/000000/long-arrow-right.png");
        background-repeat: no-repeat;
        background-position-x: 95%;
        background-position-y: center;
    }

    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1.875rem;

    }

    .title {
        font-size: 0.9375rem;
    }

    .buttons {
        display: flex;
        align-items: center;
    }

    .buttons a {
        margin-left: 0.625rem;
        margin-right: 0.625rem;
    }

    .buttons a.border {
        border: 0.0625rem solid black;
        padding: 0.3125rem;
        border-radius: 0.3125rem;
    }



    #loader {
        position: fixed;
        z-index: 9999;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        /* nuova regola CSS per centrare il contenuto al centro */
        display: flex;
        justify-content: center;
        align-items: center;
    }


    #loader > div {
        position: absolute;
        transform: translate(-50%, -50%);
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        border: 0.1875rem solid transparent;
        border-top-color: #fff;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }
    /*provfffdaf*/
    body {
        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        touch-action: pan-x pan-y;
    }

    /* Disabilita lo zoom su doppio tocco (pinch-to-zoom) */
    @media (max-width: 47.9375rem) {
        body {
            touch-action: manipulation;
        }
    }

    /*nuovo footer*/
    .fixed-footer {
        position: fixed;
        border-radius: 20px;
        bottom: 0;
        width: 100%;
        background-color: #f8f9fa;
        border-top: 1px solid #dee2e6;
        padding: 10px 0;
    }

    .fixed-footer a {
        text-decoration: none;
        color: #000;
    }

    /* Nuove regole CSS per rendere il footer responsivo */
    .fixed-footer .container {
        display: flex;
        justify-content: center;
        margin-bottom: 5px;

    }

    .fixed-footer .col-4 {
        text-align: center;
        margin: 5px; /* Riduci lo spazio tra gli elementi */
        flex-grow: 1; /* Per far sì che gli elementi occupino spazio in modo uniforme */
    }

    @media (max-width: 1400px) {
        .fixed-footer .row {
            flex-wrap: nowrap; /* Impedisce il wrapping su schermi più piccoli */
            overflow-x: auto; /* Aggiunge uno scorrimento orizzontale su schermi più piccoli */
        }

        .fixed-footer .col-4 {
            flex: 0 0 calc(25% - 10px); /* Imposta una larghezza fissa per gli elementi */
        }
    }
    /* Stile normale per schermi grandi */
    .footer-text {
        margin-top: 0.25rem;
        margin-bottom: 0;
        font-size: 11px;  /* Modifica la dimensione del carattere a tuo piacimento */
        text-align: center;
    }

    /* Stile per schermi più piccoli (aggiungi o modifica come desideri) */
    @media (max-width: 767px) {
        .footer-text {
            font-size: 10px;  /* Modifica la dimensione del carattere a tuo piacimento per dispositivi mobili */
        }
    }
    /* Stile normale per schermi grandi */
    /* Stile normale per schermi grandi */
    .cart-icon {
        position: relative;
        display: inline-block;
    }

    .cart-badge {
        position: absolute;
        top: -5px;
        right: -7px;
        background-color: red;
        color: white;
        font-size: 8px;
        padding: 3px 6.5px;
        border-radius: 50%;
        display: none;
    }
    #login-form {
        max-width: 400px;
        margin: auto;
        margin-top: 50px;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }

    #login-form label {
        display: block;
        margin-bottom: 8px;
    }

    #login-form input {
        width: 100%;
        padding: 8px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    #login-form button {
        background-color: #2696BE;
        color: white;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .logo-container {
        display: flex;
        align-items: center;
    }

    .logo-container a {
        margin: 0 10px;
        text-decoration: none;
    }

    .logo-container img {
        height: 50px;
    }

    #login-form {
        max-width: 400px;
        margin: auto;
        margin-top: 50px;
        padding: 20px;
        border: 1px solid #ced4da;
        border-radius: 10px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    #login-form h2 {
        color: #2696BE;
        text-align: center;
        font-weight: bold;
        margin-bottom: 20px;
    }

    #login-form label {
        display: block;
        margin-bottom: 8px;
        color: #495057;
    }

    #login-form input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        box-sizing: border-box;
        border: 1px solid #ced4da;
        border-radius: 5px;
    }

    #login-form button {
        background-color: #2696BE;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        width: 100%;
    }

    #login-form button:hover {
        background-color: #2696BE;
    }

    #first-access-link {
        text-align: center;
        margin-top: 15px;
        color: #2696BE;
        text-decoration: underline;
        cursor: pointer;
    }
    #recovery-password {
        text-align: center;
        margin-top: 15px;
        color: #2696BE;
        text-decoration: underline;
        cursor: pointer;
    }
    #step-slider {
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .step-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ddd;
        margin: 0 5px;
        cursor: pointer;
    }
    .step-line {
        height: 2px;
        background-color: #2696BE;
        flex: 1;
    }
    .active-dot {
        background-color: #2696BE;
    }
    #lineLogo {
        height: 50px;
        border-right: 2px solid black;
        margin: 15px 20px;
        display: inline-block;
    }
    .password-icon {
        width: 10px;
        position: relative;
        left: 90%;
        top: 50%;
        transform: translateY(-200%);
        cursor: pointer;
    }

    .password-icon i {
        font-size: 18px;
    }

    .password-validation {
        display: flex;
        flex-direction: column;
    }

    .password-message {
        margin-top: 4px;
    }

    /*schede personali e classe nella pagina riepiloghi.html*/
    .selected-tab {
        color: #fff;
        border: 1px solid #007bff;
    }

    .nav-tabs {
        background-color: #17a2b8;
        margin-top: 20px;
    }

    .nav-tabs .nav-link {
        color: #fff !important;


    }

    .nav-tabs .nav-link:hover {
        font-weight: bold;

    }

    .tab-content {
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
    }
    .tab-pane.active {
        padding: 20px;
        margin-bottom: 5rem;
        margin: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
    }
    /*.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background-color: #2696BE;
    }*/


    /*storico personale*/
    .nav-item{
        margin-right: 5px;
        margin-left: 5px;
        width: 150px;
        text-align: center;
        border: 1px solid white;
        border-radius: 5px 5px 0 0;
        border-bottom: none;

    }
    .card-title{
        text-align: center;
        font-weight: bold;
    }
    .card-titleUtente{
        margin: 1vh;
        margin-left: 2rem;
        text-align: center;
        font-weight: bold;
    }
    .card-bodyUtente{
        margin: 1vh;
        margin-left: 2rem;
        text-align: center;
    }
    .quantity-card{
        text-align: center;
    }
    .card-text{
        text-align: center;
        font-weight: bold;
    }
    @media (min-width: 650px) {
        .card {
            margin: 0 auto;
            margin-bottom: 2vh;
            margin-top: 2vh;
        }
    }

    .vertical-center {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .user-container {
        text-align: center;
        background-color: #f0f0f0;
        border-radius: 10px;
        padding: 20px;
        width: 70%;
        margin: 2rem auto;

    }

    .profile-image {
        text-align: center;
        height: 200px;
        display: block;
        margin: auto;
    }
    .user-container {
        text-align: left;
        background-color: #f0f0f0;
        border-radius: 10px;
        padding: 20px;
        margin-top: 20px;
    }

    .user-details {
        margin-bottom: 20px;
    }

    .logout-button {
        text-align: center;
    }

    .logout-button button {
        width: 200px;
        margin: 0 auto;
    }
    /* Stile per il popup */
    #overlayqr {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    #popupqr {
        position: fixed;
        width: 300px;

        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none;
        text-align: center;
    }
    #popupqr img {
        max-width: 100%;
        height: auto;
        width: 300px;
    }

    /* Stile per il popup del riepilogo */
    #summaryPopup {
        position: fixed;
        width: 350px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none;
        text-align: center;
    }

    #summaryPopup table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    #summaryPopup th, #summaryPopup td {
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    #summaryPopup th {
        background-color: #f2f2f2;
    }

    #closeSummaryButton {
        background-color: #f44336;
        color: #fff;
        border: none;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
    }

    #closeSummaryButton:hover {
        background-color: #d32f2f;
    }

    #overlaysucces {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    #popupsucces {
        position: fixed;
        width: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        text-align: center;
    }

    #popupsucces img {
        max-width: 100%;
        height: auto;
        width: 300px;
    }

    #overlayfail {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    #popupfail {
        position: fixed;
        width: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        text-align: center;
    }

    #popupfail img {
        max-width: 100%;
        height: auto;
        width: 300px;
    }
    #overlayfail {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }


    #overlaytime {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    #popuptime {
        position: fixed;
        width: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        text-align: center;
    }

    #popuptime img {
        max-width: 100%;
        height: auto;
        width: 300px;
    }
    #overlayorder {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    #popuporder {
        position: fixed;
        width: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        text-align: center;
    }

    #popuporder img {
        max-width: 100%;
        height: auto;
        width: 300px;
    }

    #overlaytime.active,
    #popuptime.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s linear 0s;
    }
    #overlayfail.active,
    #popupfail.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s linear 0s;
    }
    #overlaysucces.active,
    #popupsucces.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s linear 0s;
    }
    #overlayorder.active,
    #popuporder.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s linear 0s;
    }

    font-size: 18px;
}

.password-validation {
    display: flex;
    flex-direction: column;
}

.password-message {
    margin-top: 4px;
}

/*schede personali e classe nella pagina riepiloghi.html*/
.selected-tab {
    color: #fff;
    border: 1px solid #007bff;
}

.nav-tabs {
    background-color: #17a2b8;
    margin-top: 20px;
}

.nav-tabs .nav-link {
    color: #fff !important;


}

.nav-tabs .nav-link:hover {
    font-weight: bold;

}

.tab-content {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
.tab-pane.active {
    padding: 20px;
    margin-bottom: 5rem;
    margin: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
/*.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #2696BE;
}*/


/*storico personale*/
.nav-item{
    margin-right: 5px;
    margin-left: 5px;
    width: 150px;
    text-align: center;
    border: 1px solid white;
    border-radius: 5px 5px 0 0;
    border-bottom: none;

}
.card-title{
    text-align: center;
    font-weight: bold;
}
.card-titleUtente{
    margin: 1vh;
    margin-left: 2rem;
    text-align: center;
    font-weight: bold;
}
.card-bodyUtente{
    margin: 1vh;
    margin-left: 2rem;
    text-align: center;
}
.quantity-card{
    text-align: center;
}
.card-text{
    text-align: center;
    font-weight: bold;
}
@media (min-width: 650px) {
    .card {
        margin: 0 auto;
        margin-bottom: 2vh;
        margin-top: 2vh;
    }
}

.vertical-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.user-container {
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    width: 70%;
    margin: 2rem auto;

}

.profile-image {
    text-align: center;
    height: 200px;
    display: block;
    margin: auto;
}
.user-container {
    text-align: left;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.user-details {
    margin-bottom: 20px;
}

.logout-button {
    text-align: center;
}

.logout-button button {
    width: 200px;
    margin: 0 auto;
}
/* Stile per il popup */
#overlayqr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

#popupqr {
    position: fixed;
    width: 300px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    display: none;
    text-align: center;
}

#popupqr img {
    max-width: 100%;
    height: auto;
    width: 300px;
}
/* Stile per il popup del riepilogo */
#summaryPopup {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    display: none;
    text-align: center;
}

#summaryPopup table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#summaryPopup th, #summaryPopup td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

#summaryPopup th {
    background-color: #f2f2f2;
}

#closeSummaryButton {
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

#closeSummaryButton:hover {
    background-color: #d32f2f;
}

#overlaysucces {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#popupsucces {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    text-align: center;
}

#popupsucces img {
    max-width: 100%;
    height: auto;
    width: 300px;
}

#overlayfail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#popupfail {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    text-align: center;
}

#popupfail img {
    max-width: 100%;
    height: auto;
    width: 300px;
}
#overlaytime {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#popuptime {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    text-align: center;
}

#popuptime img {
    max-width: 100%;
    height: auto;
    width: 300px;
}
#overlayorder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#popuporder {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    text-align: center;
}

#popuporder img {
    max-width: 100%;
    height: auto;
    width: 300px;
}

#overlaytime.active,
#popuptime.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}
#overlayfail.active,
#popupfail.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}
#overlaysucces.active,
#popupsucces.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}
#overlayorder.active,
#popuporder.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

#popupmoney{
    position: fixed;
    width: 300px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    display: none;
    text-align: center;
}

#popupUserqr {
    position: fixed;
    width: 300px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    display: none;
    text-align: center;
}

#popupUserqr img {
    max-width: 100%;
    height: auto;
    width: 300px;
}
.small-card .card-body {
    padding: 0;
    margin: 20px;
}
.category-menu {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    background-color: #f8f9fa;
    border-radius: 20px;
    width: 100%;
    border-bottom: none;
}

@media (max-width: 768px) {
    .category-menu {

        justify-content: flex-start;
        padding-left: 20px;
    }
}

.category-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px 0 15px 15px;
    width: 100%;
    z-index: 1000;
}


.category-menu a {
    display: inline-block;
    padding: 10px 20px;
    color: #2696BE;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 50px;
    margin-right: 10px;
}

.category-menu a:hover,
.category-menu a:focus {
    background-color: #e9ecef;
}

/* Stili per l'elemento selezionato */
.category-menu a.selected {
    background-color: #007bff;
    color: white;
}
.category-menu {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.category-menu::-webkit-scrollbar-thumb {
    background-color: transparent;
}

