.form-subitem {
    margin-bottom: 5px;
    margin-top: 5px;
}

.meeting-image {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    margin-top: 10px;
}

#loader-wrapper {
position: relative;
text-align: center;
display: none;
}

#loader-wrapper-layered {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    z-index: 9999; /* High z-index to ensure it is on top */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.loader-message {
    font-size: 16px;
    color: #333;
}

#loader {
position: relative;
margin: 20px auto; /* Adjust the margin as needed */
width: 150px;
height: 150px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}

.form-fieldset {
    border: 1px solid #3498db;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.form-fieldset legend {
    display: flex;
    align-items: center;
    padding: 0 10px;
    width: auto; /* Ensure the legend spans the full width of the fieldset */
    margin-left: 10px; /* Adjust margin to align with fieldset padding */
    margin-right: 10px; /* Adjust margin to align with fieldset padding */
    background: white; /* Match the background color to the fieldset */
    position: absolute;
    top: -20px; /* Adjust position to overlap the border */
    left: 10px; /* Align with fieldset padding */
    white-space: nowrap;
}

.form-fieldset legend label {
    margin-right: 10px;
}

.form-fieldset legend input[type="checkbox"] {
    position: relative;
    transform: scale(1.5);
    margin-right: 10px;
}

.bg-card-custom-active {
background-color: #e6ffe6;
}

.bg-card-custom-inactive {
background-color: #ffe6e6;
}

.card-header-custom-active {
    background-color: #90ee90; /* Colore di sfondo verde scuro */
    font-weight: bold; /* Testo in grassetto */
    padding: 10px; /* Padding */
    border-radius: 5px 5px 0 0; /* Angoli arrotondati solo per la parte superiore */
}

.card-header-custom-inactive {
    background-color: #f08080; /* Colore di sfondo rosso scuro */
    font-weight: bold; /* Testo in grassetto */
    padding: 10px; /* Padding */
    border-radius: 5px 5px 0 0; /* Angoli arrotondati solo per la parte superiore */
}