.titolo_h1 {
    font-family: "Titillium Web", sans-serif;
    font-weight: bold;
    font-style: normal;
}

.titolo_h2 {
    font-family: "Titillium Web", sans-serif;
    font-weight: bold;
    font-style: normal;
}


html,
body,
label,
input,
button,
select,
textarea,
fluent-anchor,
fluent-button,
fluent-text-field,
fluent-select,
fluent-option,
FluentAutocomplete,
fluent-text-area,
.fluent-input-label,
fluent-label,
label.fluent-input-label {
    font-family: "Titillium Web", sans-serif !important;
    font-size: 105% !important;
}

    fluent-select::part(control) {
        font-family: "Titillium Web", sans-serif !important;
        font-size: 90% !important;
    }

.fluent-messagebar-message {
    font-family: "Titillium Web", sans-serif !important;
    font-size: 105% !important;
    line-height: 1.5 !important;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.header {
    width: 100%;
    padding: 1em;
    background-color: #0a549e !important;
    box-shadow: 0 4px 5px #000;
}

.footer {
    width: 100%;
    padding: 1em;
    flex-shrink: 0;
    font-size: 100% !important;
    color: #fff;
    background-color: #0a549e !important;
}

    .footer .link-footer {
        color: #cff;
        text-decoration: underline;
    }

.campo-readonly[readonly] {
    color: #666666;
}

.footer-content {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}

.link-footer {
    white-space: normal;
    overflow-wrap: break-word;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

    .loading-overlay p {
        margin-top: 15px;
        color: white;
        font-size: 1.1rem;
    }

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}