/* ══════════════════════════════════════════════════════════════════════
   Sito AI-Copilot — login dei CLIENTI (Interfaccia Hector), 02/09/2026.
   Lo stile PULITO della login di SiteCore (src\SoluzioneWeb\SiteCore\wwwroot\css\login.css):
   card scura, campi bordati, pulsante viola — ma sfondo NERO e la scritta «ai-copilot» col
   gradiente della pagina di attesa. Classi lc-* per non pestare quelle vere di MudBlazor (.mud-*).
   ══════════════════════════════════════════════════════════════════════ */

.lc-body {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 80px 16px 16px;
    background: #000;
    color: #b2b0bf;
    font-family: Inter, Roboto, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    overflow-y: auto;
    box-sizing: border-box;
}

.lc-header {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* la scritta come nella pagina di attesa: gradiente ritagliato sul testo */
.lc-title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: 0.02em;
    line-height: 1.1;
    background: linear-gradient(90deg, #5f6bff 0%, #8b6cff 45%, #ff6aa2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lc-sottotitolo {
    margin: 0;
    font-size: 15px;
    color: #92929f;
}

.lc-card {
    width: 100%;
    max-width: 520px;
    padding: 32px 36px;
    background: #1e1e2d;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-sizing: border-box;
}

.lc-form {
    display: grid;
    gap: 24px;
}

.lc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: transparent;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lc-field:focus-within .lc-input-wrapper {
    border-color: #7e6fff;
    box-shadow: 0 0 0 1px rgba(126, 111, 255, 0.25);
}

.lc-input {
    width: 100%;
    border: none;
    padding: 0;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #b2b0bf;
    box-shadow: none;
}

.lc-input::placeholder { color: #92929f; }

.lc-input:-webkit-autofill,
.lc-input:-webkit-autofill:hover,
.lc-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(30,30,45,1) inset !important;
    -webkit-text-fill-color: #b2b0bf !important;
    caret-color: #b2b0bf !important;
    transition: background-color 9999s ease-out 0s;
}

.lc-btn {
    margin-top: 6px;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #7e6fff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: filter .15s ease;
}
.lc-btn:hover { filter: brightness(.95); }

.lc-alert {
    margin-top: 4px;
    font-size: 14px;
    color: #ff3f5f;
    line-height: 1.5;
}

.lc-copyright {
    margin-top: 12px;
    font-size: 15px;
    text-align: center;
    color: #92929f;
}

.lc-torna {
    color: #4a86ff;
    text-decoration: none;
    font-weight: 600;
}
.lc-torna:hover { text-decoration: underline; }
