/* KIBIT – pagine di accesso del portale (password dimenticata, nuova password, attivazione) */
* { box-sizing: border-box; }
html { min-height: 100%; background: #0b1130; }
body.kt-auth-page {
    display: flex; min-height: 100vh; align-items: center; justify-content: center;
    margin: 0; padding: 22px; color: #334155; font-size: 16px;
    background:
        radial-gradient(circle at 12% 15%, rgb(124 58 237 / .32), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgb(6 182 212 / .22), transparent 26rem),
        radial-gradient(circle at 80% 90%, rgb(249 115 22 / .20), transparent 26rem),
        #0b1130 !important;
}
.kt-auth-ring {
    width: 100%; max-width: 470px; padding: 2px; border-radius: 24px;
    background: conic-gradient(from 200deg, #7c3aed, #3b82f6, #06b6d4, #22c55e, #eab308, #f97316, #ef4444, #d946ef, #7c3aed);
    box-shadow: 0 30px 90px rgb(0 0 0 / .55), 0 0 60px rgb(124 58 237 / .18);
}
.kt-auth { width: 100%; padding: 32px 30px 26px; border-radius: 22px; background: #fff; }
.kt-auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.kt-auth-brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 8px 24px rgb(124 58 237 / .35); }
.kt-auth-brand b { display: block; color: #0f1733; font-size: 19px; font-weight: 900; }
.kt-auth-brand span { color: #64748b; font-size: 14px; }
.kt-auth-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; font-size: 13.5px; font-weight: 800; }
.kt-auth h1 { margin: 0 0 8px; color: #0f1733; font-size: 27px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.kt-auth p { margin: 0 0 18px; color: #475569; font-size: 16px; line-height: 1.55; text-align: justify; }
.kt-auth label { display: block; margin-bottom: 7px; color: #1e293b; font-size: 15px; font-weight: 800; }
.kt-auth .form-group { margin-bottom: 16px; }
.kt-auth .form-control { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 16px; }
.kt-auth .form-control:focus { outline: 0; border-color: #7c3aed; box-shadow: 0 0 0 4px rgb(124 58 237 / .15); }
.kt-auth .btn, .kt-auth .btn-primary {
    display: flex; width: 100%; min-height: 52px; margin-top: 8px; align-items: center; justify-content: center;
    border: 0 !important; border-radius: 12px; color: #fff !important; cursor: pointer; text-decoration: none;
    background: linear-gradient(100deg, #6d28d9, #7c3aed 35%, #ea580c) !important; font-size: 17px; font-weight: 800;
    box-shadow: 0 12px 26px rgb(124 58 237 / .30);
}
.kt-auth .alert-success, .kt-auth .alert-error { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; text-align: justify; }
.kt-auth .alert-success { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; }
.kt-auth .alert-error { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; }
.kt-auth .password-help { margin-top: 6px; color: #64748b; font-size: 14px; }
.kt-auth .portal-meta { padding: 12px 14px; border-radius: 12px; background: #f5f3ff; border: 1px solid #ddd6fe; color: #4c1d95; }
.kt-auth-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e8f0; text-align: center; font-size: 15px; }
.kt-auth-foot a { color: #6d28d9; font-weight: 700; text-decoration: none; }
.kt-auth-foot a:hover { text-decoration: underline; }
@media (max-width: 480px) { body.kt-auth-page { padding: 12px; } .kt-auth { padding: 24px 20px 20px; } .kt-auth h1 { font-size: 24px; } }
