﻿/* RESET CSS - Rimuove i margini e padding predefiniti */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* BODY - Sfondo chiaro e testo scuro */
body {
    background-color: #FFFFFF;
    color: #00213b;
    line-height: 1.6;
}

/* PAGINA LOGIN */
/* Stile generale per la pagina di login */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #F3F2F1;
    margin: 0;
}

/* Contenitore principale: layout a due colonne */
.login-container {
    display: flex;
    height: 100vh; /* Occupa l'intera altezza della viewport */
    width: 100vw; /* Occupa l'intera larghezza della viewport */
}

/* Colonna sinistra con video */
.login-left {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.login-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assicura che il video si adatti alla sezione */
}

/* Colonna destra con il form */
.login-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra orizzontalmente */
    background-color: #FFFFFF; /* Sfondo chiaro */
    padding: 20px;
    text-align: center;
}

    /* Stile per il logo AZCORE */
    .login-right h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

/* Stile per AZCORE nella pagina di login */
.login-az-bold {
    font-weight: bold;
    color: #00213b;
}

.login-core-light {
    font-weight: 300;
    color: #0078D4;
}

/* Form di login */
.login-right form {
    width: 80%;
    max-width: 400px;
}

.login-right label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.login-right input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease-in-out;
}

    .login-right input:focus {
        border-color: #0078D4;
        outline: none;
    }

/* Bottone di login */
.btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    background: linear-gradient(135deg, #00213B, #0078D4);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out;
}

    .btn:hover {
        background: linear-gradient(135deg, #0078D4, #00213B);
        transform: scale(1.02);
    }

/* Responsività per schermi più piccoli */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column; /* Dispone il video sopra il form */
    }

    .login-left, .login-right {
        width: 100%;
        height: 50%;
    }

    .login-video {
        height: 100%;
    }
}
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.forgot-pwd-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #3498db;
    text-decoration: none;
}

    .forgot-pwd-link:hover {
        text-decoration: underline;
    }
