﻿/***** LOGIN – stile minimale coerente con Finanservice *****/
/* Riusa font e classi esistenti: .video, .btn-white, .griglia-hero */
#login-hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.50));
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 100%);
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    margin-top: -120px; /* allinea all'hero esistente */
}

.login-card {
    width: min(560px, calc(100% - 48px));
    background: rgba(255,255,255,.92);
    /*background: white !important;*/
    border: none;

    z-index: 9999
}

.login-card-body {
    padding: clamp(24px, 5vw, 48px);
}

.login-title {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 40px);
    color: #333;
    margin: 0;
}

.login-subtitle {
    font-family: "Chivo", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.6vw, 18px);
    color: #00a084;
    margin-top: 6px;
}

.login-input {
    background: #fff;
    border: 1px solid #e5e7eb;

    height: 48px;
    padding: 0 14px;
    font-family: "Chivo", sans-serif;
}

    .login-input:focus {
        outline: none;
        border-color: #00c3a5;
        box-shadow: 0 0 0 3px rgba(0,195,165,.15);
    }

.login-btn {
    height: 48px;

    background-color: none;
}

.login-link {
    color: #00a084;
    text-decoration: none;
}

    .login-link:hover {
        text-decoration: underline;
    }

.login-alt {
    font-family: "Chivo", sans-serif;
    font-size: 14px;
    color: #333;
}

.form-label{
    color: black
}

/* Dark mode variant on top of video if ever used elsewhere */
@media (prefers-color-scheme: dark) {
    .login-card {
        background: rgba(255,255,255,.90);
    }
}

/* Mobile tuning */
@media (max-width: 576px) {
    .login-container {
        margin-top: 0;
    }
}
