html,
body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #0f172a;
    background: #eef3f8;
}

.login-shell {
    display: grid;
    grid-template-columns: 1.1fr 460px;
    min-height: 100%;
}

.brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(8, 21, 39, .94), rgba(14, 35, 58, .92)),
        radial-gradient(circle at 70% 20%, rgba(37, 99, 235, .6), transparent 34%);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 26px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 18px;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 20px 38px rgba(37, 99, 235, .28);
}

.brand-panel h1 {
    margin: 0;
    font-size: 46px;
    letter-spacing: 0;
}

.brand-panel p {
    max-width: 520px;
    color: #b8c8dc;
    font-size: 18px;
    line-height: 1.6;
}

.login-card {
    align-self: center;
    margin: 36px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #dce6f1;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.login-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.login-card p {
    margin: 0 0 26px;
    color: #64748b;
}

.login-card form {
    display: grid;
    gap: 16px;
}

.login-card label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 700;
}

.login-card input {
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d6e0ec;
    border-radius: 9px;
    font: inherit;
}

.login-card button {
    height: 48px;
    margin-top: 8px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.validation {
    color: #dc2626;
    font-weight: 700;
}

.login-forgot-link {
    display: block;
    margin-top: 18px;
    color: #2563eb;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.login-success {
    margin-bottom: 18px;
    padding: 12px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 36px;
    }
}
