:root {
    --blue-dark: #1E293B;
    --blue-light: #334155;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --shadow-strong: 0 45px 60px -35px rgba(15, 23, 42, 0.45);
    font-family: 'Inter', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    font-family: 'Inter', sans-serif;
    color: var(--slate-700);
}

a {
    color: inherit;
}

a:hover {
    color: var(--blue-dark);
}

.login-shell {
    width: 100%;
    max-width: 1080px;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.login-form {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.brand-badge {
    font-size: 11px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--slate-500);
    font-weight: 600;
}

.login-heading {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: var(--slate-900);
}

.login-subheading {
    margin: 0;
    font-size: 15px;
    color: var(--slate-500);
}

.login-fields {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.field-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--slate-200);
    padding: 14px 20px;
    font-size: 14px;
    background: #f8fafc;
    color: var(--slate-700);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field-input:focus {
    outline: none;
    border-color: var(--blue-light);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 41, 59, 0.15);
}

.login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--slate-500);
}

.login-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-dark);
}

.login-button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    box-shadow: 0 18px 30px -18px rgba(30, 41, 59, 0.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 32px -18px rgba(30, 41, 59, 0.45);
}

.login-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.login-footer {
    margin-top: auto;
    font-size: 12px;
    color: var(--slate-500);
}

.login-illustration {
    position: relative;
    background: linear-gradient(135deg, #1E293B, #475569);
    color: #fff;
    padding: 64px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.illustration-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.illustration-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.illustration-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 60%),
                radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.15), transparent 65%);
}

.illustration-graphic {
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.login-page-footer {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: var(--slate-500);
}

@media (max-width: 768px) {
    .login-form {
        padding: 48px 32px;
    }
    .illustration-title {
        font-size: 22px;
    }
}
