:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;

    --bg-main: #f8fafc;
    --bg-card: rgba(255,255,255,0.7);

    --text-main: #0f172a;
    --text-muted: #64748b;

    --radius: 20px;
}

/* ===== BODY ===== */
body.login-body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    overflow: hidden;
}

/* ===== CONTAINER ===== */
.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ===== VISUAL ===== */
.login-visual {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    color: white;
}

.login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

/* ===== FORM AREA ===== */
.login-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* ===== GLASS CARD ===== */
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: var(--radius);

    background: var(--bg-card);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 80px rgba(0,0,0,0.08);
}

/* ===== INPUT ===== */
.form-control {
    height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.1);
    background: rgba(255,255,255,0.8);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* ===== RESET BOOTSTRAP FOCUS ===== */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: none !important;
}

/* anche per sicurezza su tutti gli input */
input:focus {
    outline: none;
    box-shadow: none;
}

/* ===== BUTTON ===== */
.btn-login {
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border: none;
    transition: all .25s ease;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .login-visual {
        display: none;
    }
}