@import url(https://fonts.bunny.net/css?family=inter:300,400,500,600,700);
:root{
    --primary-color: #f9a119;
    --primary-color-hover: #f26f22;
    --primary-color-active: #cd4c05;
    --mainfont:'Inter', sans-serif;
}

html, body{
    font-family:var(--mainfont);
}
@media (min-width: 996px) and (max-width: 1500px){
    body{
        zoom:0.85;
    }
}
.main_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}
.main_logo{
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.main_logo img{
    height: 80px;
}

main {
    display: flex;
    margin: 0;
}
main > div {
    flex-grow: 1;
    padding: 20px;
}


/* Stile Sidebar */

.sidebar {
    width: 250px;
    background-color: #f8f8f8;
    height: 100vh;
    /*border-right: 1px solid #ddd;*/
    padding: 15px;
    color:black;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin: 10px 0;
}

.sidebar nav ul li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar nav ul li a:hover {
    background-color: #e9ecef;
    color: #000;
}

.sidebar nav ul li a i {
    margin-right: 8px;
    font-size: 1rem;
    color: var(--primary-color);
}
.sidebar nav ul li ul{
    margin-left: 30px;
}
.sidebar nav ul li ul li{
    margin:0;
}
.sidebar nav ul li ul li a:before{
    content:'›';
    margin-right: 8px;
}

label{
    display: block;
    margin-top:16px;
}

.nav-link{
    color:#777;
}

/* FullCalendar Css */
.fc-v-event{
    border-width: 2px!important;
    border-style: dashed;
}
.fc-v-event[data-status='confermato']{
    border-width: 2px!important;
    border-style: solid!important;
}
.fc-v-event[data-status='eseguito']{
    border-width: 0!important;
    border-style: solid!important;
    opacity:0.5;
    z-index: 1;
}
.fc-v-event[data-status='eseguito']::after{
    content:'\f058';
    font-family: 'Fontawesome';
    position: absolute;
    z-index: 3;
    left:-3px;
    top:-3px;
    color:darkgreen;
    background-color: white;
    font-size: 16px;
    border-radius: 100%;
    overflow: hidden;
}
.fc-v-event[data-status='cancellato']{
    background-image: url("../images/canceled.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-style:solid!important;
}

.fc-col-header-cell-cushion,
.fc-list-day-text{
    color:black;
    text-decoration: none;
}
.fc .fc-button-primary{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.fc .fc-button-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
}
.fc .fc-button-primary:disabled {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active {
    background-color: var(--primary-color-active);
    border-color: var(--primary-color-active);
}

/* *** SELECT ALL Personalizzata *** */
.select-all-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

/* Nascondo checkbox nativa ma resta cliccabile */
.select-all-wrapper input.select_all {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Box personalizzato */
.select-all-wrapper .custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
}

/* CHECKED: spunta */
.select-all-wrapper input.select_all:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* INDETERMINATE: linea orizzontale */
.select-all-wrapper input.select_all:indeterminate + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    right: 3px;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
}

/* Hover */
.select-all-wrapper:hover .custom-checkbox {
    border-color: #000;
}
/* *** SELECT ALL Personalizzata *** */

.label_servizio{
    padding: 6px;
    border-width: 2px;
    border-style: solid;
}