﻿/* Stile aggiuntivo per le animazioni */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}


.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: center;
}

#browser-warning-modal, #cookie-banner {
    position: fixed;
    z-index: 50;
}

#browser-warning-modal {
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hidden {
    display: none !important;
}

#browser-warning-modal > div {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    max-width: 24rem;
    width: 100%;
    text-align: center;
}

#cookie-banner {
    top: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

    #cookie-banner > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#close-modal-btn {
    background-color: #3b82f6;
    color: white;
    width: 100%;
    margin-top: 1rem;
}

    #close-modal-btn:hover {
        background-color: #2563eb;
    }

#accept-cookie-btn {
    background-color: #22c55e;
    color: white;
}

    #accept-cookie-btn:hover {
        background-color: #16a34a;
    }
/*--------------------------------------------------------------------*/
.otp-box {
    max-width: 400px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
    text-align: center;
}

.otp-message {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.otp-icon {
    font-size: 28px;
    color: #2563eb; /* blu elegante */
}

#otp {
    display: flex;
    gap: 12px;
    justify-content: center;
}

    #otp input {
        width: 40px;
        height: 60px;
        text-align: center;
        font-size: 28px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }
 /*-------------------------------------------------------------*/
html {
    font-family: 'Lato', sans-serif;
    background-image: url(icone/sfondo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    touch-action: none;
}

label {
    margin-top: 5px;
    margin-bottom: 1px;
}

input[type=text], [type=password], [type=date], select {
    background: rgba(255, 255, 255,0.3);
    border-radius: 5px;
    border: 3px solid lightgray;
    outline: none;
    padding: 5px;
    -webkit-transition: all .5s;
    transition: all .5s;
    width: 90%;
}

input:focus {
    background: rgba(255, 255, 255,0.5);
    border-radius: 5px;
    border: 3px solid lightblue;
}

.msg_box {
    position: absolute;
    margin: auto;
    width: 400px;
    min-height: 200px;
    border-radius: 5px;
    background: rgba(255, 255, 255,0.9);
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    -webkit-box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.63);
    -moz-box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.63);
    box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.63);
    -webkit-transition: all .5s;
    transition: all .5s;
    padding: 5px;
}

.center_login {
    position: absolute;
    margin: auto;
    max-width: 600px;
    width:95%;
    height: 600px;
    border-radius: 5px;
    background: rgba(255, 255, 255,0.8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.main_panel {
    z-index: 1;
    width: 90%;
    height: 90%;
    top: -100%;
}

.standard_icon {
    -webkit-transition: all 1s;
    transition: all 1s;
    background: rgba(255, 255, 255,0.3);
    border-radius: 5px;
    border: 3px solid lightgray;
    width: 128px;
    padding: 1px;
    bottom: 0px;
    margin: 10px;
    display: inline-block;
    -webkit-filter: grayscale(80%);
    filter: grayscale(80%);
    cursor: pointer;
    text-align: center;
}

    .standard_icon p {
        text-align: center;
    }

    .standard_icon img {
        margin: auto;
    }

    .standard_icon:hover {
        background: lightyellow;
        border: 3px solid lightblue;
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        width: 135px;
    }

        .standard_icon:hover p {
            color: red;
        }

.standard_div {
    position: fixed;
    left: 0px;
    display: inline-block;
    border: 1px solid gray;
    border-radius: 5px;
    background: rgba(200, 200, 200,0.8);
}

.loading {
    background-color:white;
    border-radius:10px;
    width: 200px;
    height: 200px;
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    text-align: center;
}

.row_root {
    background-color: beige;
    border: solid 1px lightgray;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px;
    text-align: center;
}

    .row_root img {
        /*width: 64px;*/
        display: inline-block;
        border-radius:5px;
    }

    .row_root span {
        max-width: 80%;
        display: inline-block;
        margin:auto;
    }

    .row_root div {
        font-weight: bold;
    }

    .row_root:hover {
        background-color: lightblue;
    }

.rigo {
    border-bottom: solid 1px black;
    padding: 5px;
    vertical-align: middle;
    text-align: left;
}

    .rigo label {
        vertical-align: middle;
        display: inline-block;
        width: 300px;
    }

    .rigo div {
        display: inline-block;
        vertical-align: middle;
    }

    .rigo img, span {
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
    }

    .rigo span {
        margin-right:5px;
        float: right;
    }

.doc_action {
    display: inline-block;
    margin-left: 10px;
}

    .doc_action img {
        width: 24px;
    }

.big img {
    /*width: 128px;*/
}

#contrnitore_pulanti {
    position: fixed;
    bottom: 20px;
    text-align: center;
    width: 100%;
}

#contrnitore_pulanti_mobile {
    display: none;
}

#contenitore_ricerca_pazienti {
    width: 20%;
    height: calc(100% - 4px);
    margin: 1px;
}

#lista_pazienti {
    background-color: white;
    width: calc(20% - 2px);
    height: calc(100% - 202px);
    top: 200px;
    left: 1px;
    overflow-y: auto;
    overflow-x: hidden;
}




.comune {
    cursor: pointer;
    border-bottom: solid 1px gray;
    padding: 3px;
    user-select: none;
}

    .comune:hover {
        background-color: orangered;
    }

.panel_signup {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 5px;
}

.signup_fill {
    box-shadow: 0px 0px 13px 5px rgba(0,0,0,0.75);
    border: 1px solid black;
    border-radius: 5px;
    position: absolute;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    background-color: white;
    display: none;
    overflow: hidden;
    z-index: 1000;
}

.signup_container {
    text-align: center;
    background-color: white;
    height: auto;
    display: inline-block;
    position: relative;
    top: 25%;
    width: auto;
    border-radius: 5px;
    border: solid 1px black;
    padding: 10px;
   
}

.menu_mobile {
        -webkit-transition: all 1s;
    transition: all 1s;
    background-color: white;
    width: 100%;
    height: 50px;
    padding: 1px;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    visibility: hidden;
     box-shadow: 0px 0px 13px 5px rgba(0,0,0,0.75);
}

@media screen and (max-width: 1024px) {

    .rigo {
        position: relative;
        text-align: center;
    }

        .rigo span {
            float: inherit;
            position: absolute;
            left: 5px;
            top: 5px;
        }

    .menu_mobile {
        visibility: visible;
    }

    .msg_box {
        width: 95%;
    }

    #desktopui {
        display: none;
    }

    .main_panel {
        z-index: 1;
        width: 100%;
        height: 100%;
        top: -100%;
        position: absolute;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    #lista_pazienti {
        background-color: white;
        width: 100%;
        height: calc(100% - 230px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    #contenitore_ricerca_pazienti {
        width: 100%;
        height: calc(100% - 4px);
        margin: 1px;
    }

    #contrnitore_pulanti {
        display: none;
    }

    #contrnitore_pulanti_mobile {
        display: inline-block;
    }

 

    .signup_container {
        top: 0px;
    }

    .panel_signup {
        width: 100%;
    }

    .rigo label {
        width: 100%;
    }
}
/* Stile del pulsante rotondo */
.phone-button {
    position: relative;
    /*bottom: 50px;*/
    top:10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 30px;
    background-color: rgb(99, 234, 168, 0,80);
    font-size: 18px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    color:#232323
}



    .phone-button:hover {
        background-color: #45a049;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }


    /* Stile dell'overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: none;
        justify-content: center;
        align-items: center;
        z-index:100;
    }

    /* Contenuto del div espanso */
.overlay-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 80vh;
    max-width: 800px;
}

    /* Mostra l'overlay quando attivo */
    .overlay.active {
        display: flex;
    }

.CancelBnt {
    box-shadow: inset 0px 39px 0px -24px #e67a73;
    background-color: #e4685d;
    border-radius: 4px;
    border: 1px solid #ffffff;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 20px;
    padding: 14px 15px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #b23e35;
}

    .CancelBnt:hover {
        background-color: #eb675e;
    }

    .CancelBnt:active {
        position: relative;
        top: 1px;
    }

.BuyBnt {
    box-shadow: inset 0px 39px 0px -24px #549636;
    background-color: #578540;
    border-radius: 4px;
    border: 1px solid #44961b;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 20px;
    padding: 14px 15px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #5b8a3c;
}

    .BuyBnt:hover {
        background-color: #61b835;
    }

    .BuyBnt:active {
        position: relative;
        top: 1px;
    }

ul {
    text-align: left;
}
li {
    width:auto;
}

@keyframes lampeggio {
    0% {
        color: black;
    }

    50% {
        color: red;
    }

    100% {
        color: black;
    }
}

.blink {
    animation: lampeggio 1s infinite;
}
.password-wrapper {
    position: relative;
    width: 300px;
    margin:auto;
}

.password-input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    fill: #555;
}

    .toggle-password:hover {
        fill: #000;
    }

    .toggle-password svg {
        width: 100%;
        height: 100%;
    }

    /*
NEW
    */

<style >
/* ------------------------------------- */
/* STILI CSS (Come prima, con la modifica per il prezzo) */
/* ------------------------------------- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    padding: 20px;
}

#container {
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.stylish_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
}

    .stylish_row:hover {
        background-color: #f0f8ff;
        transform: translateY(-1px);
        cursor: pointer;
    }

.row_main {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.row_icon {
    width: 64px;
    height: 64px;
    margin-right: 15px;
}

.row_content {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* NUOVO STILE PER IL PREZZO */
.row_price {
    font-size: 16px;
    color: #007bff; /* Blu evidenziato */
    font-weight: bold;
    margin-left: 15px;
    flex-shrink: 0;
}

</style >