.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.login-shell {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1.05fr);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    box-shadow: 0 30px 90px rgba(76, 64, 180, 0.24);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.login-shell__showcase {
    position: relative;
    min-height: 680px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 20% 15%, rgba(166, 221, 255, 0.92), transparent 20%),
        radial-gradient(circle at 48% 42%, rgba(66, 18, 222, 0.96), transparent 34%),
        radial-gradient(circle at 78% 16%, rgba(216, 131, 255, 0.9), transparent 24%),
        linear-gradient(180deg, #89d9ff 0%, #8059ff 54%, #d6e7ff 100%);
    color: #ffffff;
}

.login-shell__showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.2)),
        linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.24) 52%, transparent 75%);
    pointer-events: none;
}

.login-shell__brand-mark,
.login-shell__spark {
    color: #4338ca;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
}

.login-shell__brand-mark {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.96);
}

.login-shell__showcase-content,
.login-shell__header,
.login-form,
.login-shell__footer {
    position: relative;
    z-index: 1;
}

.login-shell__eyebrow {
    margin: 0 0 14px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.84);
}

.login-shell__showcase h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(2.5rem, 3vw, 4rem);
    line-height: 0.98;
}

.login-shell__lead {
    margin: 20px 0 0;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.8;
}

.login-shell__highlights {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.login-shell__highlights span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-size: 0.92rem;
    font-weight: 600;
}

.login-shell__panel {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.86);
}

.login-shell__header h2 {
    margin: 12px 0 10px;
    font-size: clamp(2rem, 2vw, 2.7rem);
    line-height: 1.05;
}

.login-shell__header p {
    margin: 0;
    max-width: 48ch;
    color: #696582;
    line-height: 1.7;
}

.login-alert {
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.16);
    font-size: 0.95rem;
}

.login-alert--success {
    background: rgba(5, 150, 105, 0.09);
    color: #047857;
    border-color: rgba(5, 150, 105, 0.15);
}

.login-form {
    margin-top: 30px;
}

.login-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #221f35;
}

.login-form label + .login-form__input {
    margin-bottom: 22px;
}

.login-form__input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(78, 66, 164, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #171428;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-form__input:focus {
    border-color: rgba(67, 56, 202, 0.48);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
    transform: translateY(-1px);
}

.login-form__submit {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 14px;
    padding: 16px 20px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(90deg, #4f46e5 0%, #5b48ff 48%, #6d5ff8 100%);
    box-shadow: 0 16px 26px rgba(79, 70, 229, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 30px rgba(79, 70, 229, 0.3);
    filter: saturate(1.08);
}

.login-shell__footer {
    margin-top: 28px;
    text-align: center;
}

.login-shell__divider {
    display: block;
    width: min(240px, 100%);
    height: 1px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, transparent, rgba(85, 78, 136, 0.28), transparent);
}

.login-shell__footer p {
    margin: 0;
    color: #75718b;
    font-size: 0.95rem;
}

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

    .login-shell__showcase {
        min-height: 360px;
    }

    .login-shell__showcase h1 {
        max-width: 14ch;
    }
}

@media (max-width: 640px) {
    .login-page {
        padding: 16px;
    }

    .login-shell__showcase,
    .login-shell__panel {
        padding: 28px 22px;
    }

    .login-shell__showcase {
        min-height: 300px;
    }

    .login-shell__showcase h1 {
        font-size: 2rem;
    }

    .login-shell__header h2 {
        font-size: 1.8rem;
    }
}
