header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
header .container {
    position: relative;
    z-index: 2;
}
header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.4;
    /*z-index: 1;*/
}
@media (pointer: coarse) and (hover: none) {
    header {
        background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }
    header video {
        display: none;
    }
}



.card {
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.8); /* Opacità per rendere trasparente il background */
    border-radius: 15px;
}

.titleHeader{
    position:absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
}

.titleHeader .title{
    color: white;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    font-style: italic;

}

.commonErrorMessageStyle{
    font-size: 0.8em;
}

.otpDescription{
    font-size: 0.8em;
    color: dimgrey;
    margin-bottom: 10px;
}

.no-border {
    border: none;
}

/* Aggiungi questo se vuoi rimuovere i padding dall'header e dal footer */
.modal-header, .modal-footer {
    border-bottom: none; /* Rimuovi bordo inferiore dell'header */
    border-top: none;    /* Rimuovi bordo superiore del footer */
    padding: 0.75rem 1rem; /* Mantieni lo spazio interno (puoi regolarlo se necessario) */
}

.otpBtnsContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
}


#forgotPassword{
    margin-top: 15px;
    font-size: 0.8em;
    color: #4d90fe;
    cursor: pointer;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute; /* Position relative to modal */
    top: 50%; /* Center it vertically */
    left: 50%; /* Center it horizontally */
    transform: translate(-50%, -50%); /* Adjust to center */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.legal-banner {
    font-size: 0.8em;
    position: fixed;
    bottom: 15px;
    left: 20px;
    background-color: rgba(0, 123, 255, 0.8); /* Bubble semi trasparente */
    color: white;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    z-index: 1050; /* Assicura che sia in primo piano */
    width: 85vw;
}

.legal-banner a {
    color: white;
    text-decoration: underline;
}

.legal-banner a:hover {
    color: #ffc107; /* Colore del link al passaggio del mouse */
}

.loginContainer{
    position: absolute;
    right: 20px;
    top: 80px;
}