/* ============================
   PAGINA LOGIN CLIENTI
   Usa lo sfondo globale del sito
============================ */
.page-login.client-login {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-top: 180px; /* evita che l'header fisso copra il contenuto */
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent !important; /* lascia visibile lo sfondo del sito */
}

    /* Nessun overlay locale */
    .page-login.client-login::before {
        content: none !important;
    }

/* ============================
   WRAPPER E BOX LOGIN
============================ */
.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    text-align: center;
}

    /* ============================
   TITOLI E TESTI
============================ */
    .login-box h2 {
        font-size: 2rem;
        color: #0B7A3E;
        margin-bottom: 10px;
        font-weight: 700;
    }

.login-sub {
    font-size: 1rem;
    color: #333;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* ============================
   FORM
============================ */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .login-form input {
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        border: 2px solid #0B7A3E33;
        font-size: 1rem;
        background: #ffffffdd;
    }

        .login-form input:focus {
            border-color: #0B7A3E;
            outline: none;
        }

/* ============================
   BOTTONE LOGIN
============================ */
.btn-login {
    background: #0B7A3E;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

    .btn-login:hover {
        background: #1f4fa8;
    }

/* ============================
   LINK TORNA ALLA HOME
============================ */
.back-link {
    display: inline-block;
    margin-top: 15px;
    color: #1f4fa8;
    font-weight: 600;
    text-decoration: none;
}

    .back-link:hover {
        color: #0B7A3E;
    }

/* ============================
   RIPRISTINO SFONDO GLOBALE
   (FORZA immaginesfondo.png)
============================ */

/* Rende il body trasparente */
body {
    background: transparent !important;
}

    /* Forza lo sfondo desktop SEMPRE nella pagina login */
    body.client-login::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: url('/img/immaginesfondo.png') !important;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: -2;
    }

    /* Mantiene il velo bianco premium */
    body.client-login::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.45) !important;
        z-index: -1;
    }
