.auth-shell {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #181c32;
    background:
        radial-gradient(circle at top right, rgba(0, 158, 247, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(80, 205, 137, 0.12), transparent 24%),
        linear-gradient(135deg, #eef3f8 0%, #f8fafc 100%);
}

.auth-shell__page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-shell__panel {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 80px -40px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(18px);
}

.auth-shell__hero {
    position: relative;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    background:
        radial-gradient(circle at top left, rgba(0, 158, 247, 0.18), transparent 32%),
        linear-gradient(160deg, #0f172a 0%, #111827 52%, #1e293b 100%);
    color: #f8fafc;
}

.auth-shell__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 60%);
    pointer-events: none;
}

.auth-shell__hero-content,
.auth-shell__hero-footer {
    position: relative;
    z-index: 1;
}

.auth-shell__brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.auth-shell__brand-mark {
    width: 6rem;
    height: 6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.auth-shell__brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-shell__brand-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #93c5fd;
}

.auth-shell__brand-title {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.auth-shell__headline {
    max-width: 30rem;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    font-weight: 800;
}

.auth-shell__copy {
    max-width: 32rem;
    margin: 1rem 0 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
}

.auth-shell__feature-list {
    display: grid;
    gap: 0.9rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-shell__feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    font-weight: 600;
}

.auth-shell__feature-dot {
    width: 0.65rem;
    height: 0.65rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #50cd89;
    box-shadow: 0 0 0 0.35rem rgba(80, 205, 137, 0.18);
}

.auth-shell__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfdbfe;
    font-weight: 700;
    text-decoration: none;
}

.auth-shell__form-wrap {
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
}

.auth-card {
    width: 100%;
}

.auth-card__eyebrow {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #009ef7;
}

.auth-card__title {
    margin: 0.85rem 0 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    color: #181c32;
}

.auth-card__subtitle {
    margin: 0.85rem 0 0;
    color: #7e8299;
    line-height: 1.75;
}

.auth-alert {
    margin-top: 1.5rem;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-alert--error {
    border: 1px solid rgba(241, 65, 108, 0.18);
    background: rgba(241, 65, 108, 0.08);
    color: #b42318;
}

.auth-form {
    margin-top: 2rem;
}

.auth-form__grid {
    display: grid;
    gap: 1.35rem;
}

.auth-field__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5e6278;
}

.auth-field__input {
    width: 100%;
    border: 1px solid #dfe4ea;
    border-radius: 1rem;
    background: #f9fafb;
    color: #181c32;
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-field__input:focus {
    outline: none;
    border-color: rgba(0, 158, 247, 0.42);
    background: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(0, 158, 247, 0.12);
}

.auth-field__error {
    display: block;
    margin-top: 0.55rem;
    color: #f1416c;
    font-size: 0.85rem;
    font-weight: 600;
}

.auth-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
}

.auth-form__hint {
    color: #7e8299;
    font-size: 0.9rem;
    line-height: 1.6;
}

.auth-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10rem;
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, #009ef7 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 40px -22px rgba(29, 78, 216, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-form__submit:hover,
.auth-form__submit:focus {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 20px 44px -24px rgba(29, 78, 216, 0.78);
}

.auth-form__submit:focus {
    outline: none;
}

@media (max-width: 991.98px) {
    .auth-shell__panel {
        grid-template-columns: 1fr;
    }

    .auth-shell__hero,
    .auth-shell__form-wrap {
        padding: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    .auth-shell__page {
        padding: 1rem;
    }

    .auth-shell__hero,
    .auth-shell__form-wrap {
        padding: 1.5rem;
    }

    .auth-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-form__submit {
        width: 100%;
    }
}
