/* css/style.css */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');


@font-face {
    font-family: 'DaniloSans';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DaniloSans';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}





/* Variabili di default */
:root{
    --colore-principale: #d99f34; /* verrà sovrascritto da _header.php */
}

/* Global */
body{
    font-family: 'DaniloSans', sans-serif;
    background-color: #f2f3f5;
    color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container{ max-width: 500px; }

.bg-locale{
    height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
}

.bg-prenota-panel{
    border-radius: 20px;
    margin-top: 20px;
}

.logo-locale{
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.logo-locale2{
    max-width: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
    /*padding: 20px;*/
}

/* Pulsanti menu */
.bt-menu{
    background-color: #d99f34;
    border-color: #d99f34;
}
.bt-menu:hover{
    background-color: #000;
    border-color: #000;
}
.bt-menu:disabled{
    background-color: rgba(217, 159, 52, 0.59);
    border-color: rgba(217, 159, 52, 0.59);
}
.bt-menu:disabled:hover{
    background-color: rgba(217, 159, 52, 0.59);
    border-color: rgba(217, 159, 52, 0.59);
}

/* Titoli e card */
h3{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

#btInvia{
    background-color: var(--colore-principale) !important;
    border-color: var(--colore-principale) !important;
    color: #fff;
    border-radius: 25px;
}
#btInvia:disabled{
    background-color: var(--colore-principale) !important;
    border-color: var(--colore-principale) !important;
    backdrop-filter: opacity(0.2);
    color: #eee;
}
#btInvia:hover{
    background-color: var(--colore-principale) !important;
    border-color: var(--colore-principale) !important;
    color: #fff;
}

.card{ border: none; }

.card-header {
    padding: 0.15rem 0.1rem;
    margin-bottom: 0;
    background-color: rgb(58 73 70);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.btn-link { color: #fff; }
.btn-link:hover { color: var(--colore-principale); text-decoration: none; }

.ssfondo{
    padding: 0px 30px;
    border-radius: 20px;
    color: #000;
}

.card-header h2{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.npQtaSel{
    background-color: var(--colore-principale);
    color: #fff;
}

/* Servizi */
.servizio{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    padding: 10px 18px;
    background-color: var(--colore-principale);
    border-radius: 50px;
    color: #fff;
}

.dett_servizio{
    flex: 2;
    text-align: left;
    padding-left: 10px;
}

.servizio_nome{ font-weight: 600; }

.servizio_ora{
    font-size: 14px;
    color: #fff;
}

.servizio_operatore{ font-size: 12px; }

/* Checkbox custom */
.myinput[type="checkbox"]:before {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border: none;
    content: "";
    background: #FFF;
}
.myinput[type="checkbox"]:after {
    position: relative;
    display: block;
    left: 0px;
    top: -20px;
    width: 20px;
    height: 20px;
    content: "";
    border: none;
    background-color: var(--colore-principale);
    background-repeat: no-repeat;
    background-position: center;
}
.myinput[type="checkbox"]:checked:after {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAQAAABuW59YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAB2SURBVHjaAGkAlv8A3QDyAP0A/QD+Dam3W+kCAAD8APYAAgTVZaZCGwwA5wr0AvcA+Dh+7UX/x24AqK3Wg/8nt6w4/5q71wAAVP9g/7rTXf9n/+9N+AAAtpJa/zf/S//DhP8H/wAA4gzWj2P4lsf0JP0A/wADAHB0Ngka6UmKAAAAAElFTkSuQmCC'), linear-gradient(135deg, #B1B6BE 0%, #FFF 100%);
}
.myinput[type="checkbox"]:disabled:after { -webkit-filter: opacity(0.4); }

/* Day box / calendario */
.day_box{
    background-color: #fff;
    border-radius: 10px;
    padding: 4px;
    text-align: center;
    width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
    font-size: 14px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.day_box > div:nth-child(2){
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}
.day_box:hover > div a{ text-decoration: none; color: #fff; }

.ColCalendar{
    padding: 0px;
    max-width: 500px;
    margin: 0 auto;
}

/* Persone e fasce */
.persone_div{
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
}

.fascia_div{
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.fascia{
    width: 108px;
    padding: 2px 10px;
    height: 30px;
    margin: 6px 4px;
    /* border: 1px solid #000; */
    box-shadow: 0px 0px 5px #cccccc;
    line-height: 27px;
    border-radius: 20px;
    color: #000;
    text-align: center;
    font-size: 14px;
}

.faSel{
    background-color: var(--colore-principale);
    color: #fff;
}

.persone_div_title{
    color: #000;
    flex: 3;
    text-align: left;
}

.persone_div_number{
    color: #fff;
    background-color: var(--colore-principale);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    width: 49px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Calendar titles and scroll */
.ColCalendar .montly_title a{
    text-align: center;
    font-size: 16px;
    color: #000;
}

.ColCalendar .week{
    background-color: var(--colore-principale);
    color: #000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}
.ColCalendar .week > div{
    text-align: center;
    padding: 10px 0px;
    width: 30px;
    height: 30px;
    line-height: 10px;
}

.ColCalendar .montly_title{
    background-color: #fff;
    border-radius: 15px;
    border: 0px solid black;
    color: #000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.ColCalendar .montly_scroll{
    color: #000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
    overflow: scroll;
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    margin-bottom: 10px;
}
.ColCalendar .montly_scroll::-webkit-scrollbar { display: none; }
.ColCalendar .montly_scroll::-webkit-scrollbar-thumb {
    background-color: var(--colore-principale);
    border-radius: 10px;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-track { background-color: #f2f2f2; }
.ColCalendar .montly_scroll::-webkit-scrollbar-thumb:hover { background-color: var(--colore-principale); }
.ColCalendar .montly_scroll::-webkit-scrollbar-track:hover { background-color: #f2f2f2; }
.ColCalendar .montly_scroll::-webkit-scrollbar-thumb:active { background-color: var(--colore-principale); }
.ColCalendar .montly_scroll::-webkit-scrollbar-track:active { background-color: #f2f2f2; }

/* Date states */
.dataSelezionata{
    background-color: var(--colore-principale);
    color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.dataSelezionata:hover{ text-decoration: none; color: #000; }

.dataOggi{
    background-color: var(--colore-principale);
    color: #fff;
}

.dataChiusura{
    background-color: #c2c2c2;
    color: #fff;
}

/* Links, inputs */
.title a{ text-decoration: none; color: #000; }
.title a:hover{
    background-color: var(--colore-principale);
    color: #000;
    border-radius: 20%;
    line-height: 10px;
    padding: 5px 10px;
}

input:focus{ outline: none; }

.campoform{
    width: 100%;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

/* Riepilogo e form-control */
.riepilogo_div{
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
}
.riepilogo_div > div{
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 0;
}
.riepilogo_div > div > div:nth-child(1){
    color: var(--colore-principale);
    font-size: 25px;
    padding: 10px 0;
}
.riepilogo_div > div > div:nth-child(2){
    color: var(--colore-principale);
    font-weight: normal;
}
.form-control{
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    background-color: #fff;
    padding: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}

.close2{
    cursor: pointer;
    color: #fff;
    background-color: #000;
    font-size: 10px;
    border-radius: 50px;
    padding: 3px 5px;
    position: relative;
    right: 0px;
    top:-10px;
    text-decoration: none;

}



.servizi_div{
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    display: flex ;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10px;
}

.div_servizio{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.div_servizio .corpo{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.div_servizio .title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 10px;
    text-align: left;
}










/* Carrello laterale */



 .cart_toggle{
     background-color: var(--colore-principale) !important; color:#fff; border-radius:20px; padding:6px 12px; cursor:pointer; border: none;
 }
.cart-panel{
    position: fixed; right: 0; top: 0; height: 100vh; width: 340px;
    background: #fff; box-shadow: -6px 0 24px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform .28s ease; z-index:1050; padding:16px; overflow:auto;
}
.cart-panel.open{ transform: translateX(0); }
.cart-panel .item{ display:flex; justify-content:space-between; align-items:flex-end; padding:10px; border-radius:10px; margin-bottom:10px; background:#f7f7f7; }
.cart-panel .item .remove-item{ background: transparent; border: none; color:#a00; cursor:pointer; font-weight:600;}
.cart-counter{ background: var(--colore-principale) !important; color:#fff; padding:4px 8px; border-radius:50px; font-size:12px; }





.btAddServizio{
    color: var(--colore-principale) !important;
    border-radius: 20px;
    width: 100%;
    margin-top: 10px;
}

.btAvanti{
    background-color: var(--colore-principale) !important;
    color: #fff;
    border-radius: 20px;
    width: 100%;
    margin-top: 10px;
}

.btAvanti:hover{
    background-color: var(--colore-principale) !important;
    color: #fff;
    border-radius: 20px;
    width: 100%;
    margin-top: 10px;
}

.div_space{
    width: 4px;
    height: 4px;
}

.div_servizio{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.div_servizio_sel{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--colore-principale) !important;
    color: #fff;
    margin-bottom: 10px;
}

.div_sx{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.operatori_div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.div_operatore{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
}

.div_operatore img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.div_operatore_sel{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--colore-principale) !important;
    color: #fff;
}

.myinput[type="checkbox"]:before {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border: none;
    content: "";
    background: #FFF;
}

.myinput[type="checkbox"]:after {
    position: relative;
    display: block;
    left: 0px;
    top: -20px;
    width: 20px;
    height: 20px;
    content: "";
    border: none;
    background-color: var(--colore-principale) !important;
    background-repeat: no-repeat;
    background-position: center;
}

.myinput[type="checkbox"]:checked:after {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAQAAABuW59YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAB2SURBVHjaAGkAlv8A3QDyAP0A/QD+Dam3W+kCAAD8APYAAgTVZaZCGwwA5wr0AvcA+Dh+7UX/x24AqK3Wg/8nt6w4/5q71wAAVP9g/7rTXf9n/+9N+AAAtpJa/zf/S//DhP8H/wAA4gzWj2P4lsf0JP0A/wADAHB0Ngka6UmKAAAAAElFTkSuQmCC'), linear-gradient(135deg, #B1B6BE 0%, #FFF 100%);
}

.myinput[type="checkbox"]:disabled:after {
    -webkit-filter: opacity(0.4);
}



.day_box{
    background-color: #fff;
    border-radius: 10px;
    padding: 4px;
    /* margin: 0px 5px; */
    text-align: center;
    width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
    font-size: 14px;
}


.day_box > div:nth-child(2){
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}




.day_box:hover > div a{
    text-decoration: none;
    color: #fff;
}

.ColCalendar{
    #background-color: #fff;
    #border: 1px solid #ccc;
    #border-radius: 10px;
    padding: 0px;
    max-width: 500px;
    margin: 0 auto;
}

.categorie_div{
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    color:#000;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
    overflow:auto;
    scrollbar-width: none;
    gap:10px;

}

.servizi_div {
    border-radius: 20px;
    border: 0px solid black;
    color: #000;
    display: flex ;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10px;
}

.fascia_div{
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    color:#000;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 10px 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}



.faSel{
    background-color: var(--colore-principale) !important;
    color:#fff;
}

.div_title{
    color:#000;
    flex: 3;
    text-align: left;
    margin-left: 4px;
    margin-bottom: 10px;
}

.div_categoria{
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    width: 85px;
    height: 85px;
    white-space: nowrap;
    font-size:13px;
}

.div_categoria_sel{
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color:#fff;
    background-color: var(--colore-principale) !important;
}


.ColCalendar .montly_title  a{
    text-align: center;
    font-size: 16px;
    color: #000;
}

.ColCalendar .week{
    background-color:var(--colore-principale) !important;
    color:#000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}
.ColCalendar .week > div{
    text-align: center;
    padding: 10px 0px;
    width: 30px;
    height: 30px;
    line-height: 10px;
}


.ColCalendar .montly_title{
    background-color: #fff;
    border-radius: 15px;
    border: 0px solid black;
    color:#000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;

}

.ColCalendar .montly_scroll{
    color:#000;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;

    overflow: scroll;
    background-color: #fff;
    border-radius: 20px;
    border: 0px solid black;
    margin-bottom: 10px;
}

.ColCalendar .montly_scroll::-webkit-scrollbar {
    display: none;
}

.ColCalendar .montly_scroll::-webkit-scrollbar-thumb {
    background-color: var(--colore-principale) !important;
    border-radius: 10px;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-track {
    background-color: #f2f2f2;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--colore-principale) !important;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-track:hover {
    background-color: #f2f2f2;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-thumb:active {
    background-color: var(--colore-principale) !important;
}
.ColCalendar .montly_scroll::-webkit-scrollbar-track:active {
    background-color: #f2f2f2;
}



.dataSelezionata{
    background-color: var(--colore-principale) !important;
    color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;

}

.dataSelezionata:hover{
    text-decoration: none;
    color: #000;
}


.dataOggi{
    background-color: var(--colore-principale) !important;
    color: #fff;
}


.dataChiusura{
    background-color: #c2c2c2;
    color: #fff;
}


.title{
    text-align: left;
}

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

.title a:hover{
    background-color: var(--colore-principale) !important;
    color: #000;
    border-radius: 20%;
    line-height: 10px;
    padding: 5px 10px;
    line-height: 10px;
}

input:focus{
    outline: none;
}

.campoform{
    width: 100%;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    text-align: center;
}


.social-icon {
    background-color: var(--colore-principale); /* Sfondo bianco */
    padding: 8px;              /* Spazio interno di 8px */
    border-radius: 50%;        /* Rende l'elemento perfettamente tondo */
    width: 40px;
    height: 40px;
    /* Allineamento ottimale del contenuto */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Mantiene la forma geometrica perfetta */
    aspect-ratio: 1 / 1;
}
