html, body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: white;
    color: #1b98ae; /* Testo bianco per default */
}

/* Link e bottoni */
a, .btn-link {
    color: #1b98ae;
    text-decoration: underline;
}


    /* Focus coerente con login */
    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem #1b98ae, 0 0 0 0.25rem #258cfb;
    }

/* Rimuovere padding superfluo se non necessario */
.content {
    padding-top: 1rem;
}

/* Outline e validazioni form coerenti con lo stile login */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 2px solid #26b050;
}

.invalid {
    outline: 2px solid #e50000;
}

.validation-message {
    color: #ffdddd;
}

/* Stile checkbox uniforme con pagina login */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    cursor: pointer;
}

.darker-border-checkbox.form-check-input {
    border-color: #ffffff;
}

/* Gestione errori Blazor coerente e leggibile */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

    .blazor-error-boundary::before {
        content: "?? ";
    }

    .blazor-error-boundary::after {
        content: "An error has occurred.";
        margin-left: 0.5rem;
    }

/* Contenitore Login Uniforme */
.login-container {
    height: 100vh;
    background-color: lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}



.login-label {
    color: #1b98ae;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 15px;
}

.login-input, .form-control {
    width: 100%;
    padding: 10px 15px;
    border: #1b98ae;   
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
}

.login-button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #1b98ae;
    color: white;
    border: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

    .login-button:hover {
        background-color: #e6e6e6;
    }


.logo {
    height: 100px;
    margin-bottom: 10px;
    object-fit: contain;
}


.logo-small {
    height: 40px;
    margin-bottom: 5px;
    object-fit: contain;
}


/*HOME*/
.big-button {
    min-height: 150px;
    font-size: 1.5rem;
}


/*.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;*/ /* colore chiaro in stile Bootstrap */
    /*border-top: 1px solid #dee2e6;
    text-align: center;
    padding: 0.75rem 0;
    z-index: 1030;*/ /* sopra sidebar o altri elementi */
/*}*/

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between; /* <-- pulsante a sinistra, logo a destra */
    padding: 0 20px;
    z-index: 1000;
}

.footer-fixed .btn {
    min-width: 120px;
}
.footer-left {
    width: 160px; /* stessa larghezza media del pulsante */
}

.footer-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    height: 36px; /* adatta alla tua esigenza */
    opacity: 0.85;
    transition: opacity 0.2s ease-in-out;
}

.footer-logo:hover {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-right: 10px;
}




.footer-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* sinistra-destra */
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 100px;
    /* background-color: #ffffff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);*/
    z-index: 1000;
}


    /* Pulsanti centrati */
    .footer-buttons .btn {
        min-width: 120px;
    }

