.short-auth-page {
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(0, 138, 255, 0.14), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(92, 201, 167, 0.12), transparent 24%),
        linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%);
}

.short-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
    min-height: calc(100vh - 3rem);
}

.short-auth-panel,
.short-auth-showcase {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.short-auth-panel {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
}

.short-auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.short-auth-brand {
    display: inline-flex;
    align-items: center;
    color: #0f172a;
    text-decoration: none;
}

.short-auth-brand img {
    max-height: 40px;
    width: auto;
}

.short-auth-brand h1 {
    margin: 0;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 800;
}

.short-auth-switch {
    color: #64748b;
    font-size: 0.94rem;
}

.short-auth-switch a {
    color: var(--bs-primary);
    font-weight: 700;
    text-decoration: none;
}

.short-auth-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.short-auth-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 138, 255, 0.08);
    color: var(--bs-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.short-auth-heading {
    margin: 1rem 0 0.7rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.08;
    font-weight: 800;
}

.short-auth-copy {
    max-width: 42rem;
    margin-bottom: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

.short-auth-message {
    margin-top: 1.4rem;
}

.short-auth-form-shell {
    margin-top: 1.6rem;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: #fff;
}

.short-auth-social {
    margin-bottom: 1.25rem;
}

.short-auth-social-label {
    display: block;
    margin-bottom: 0.85rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.short-auth-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.short-auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #f8fafc;
}

.short-auth-social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.short-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.2rem 0 1.35rem;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.short-auth-divider::before,
.short-auth-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
}

.short-auth-form .form-floating > .form-control,
.short-auth-form .form-floating > .form-control-plaintext {
    height: calc(3.95rem + 2px);
    min-height: calc(3.95rem + 2px);
    padding-top: 1.65rem;
    padding-bottom: 0.75rem;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: none;
}

.short-auth-form .form-floating > label {
    padding: 1rem 1rem;
    color: #94a3b8;
}

.short-auth-form .form-control:focus {
    border-color: rgba(0, 138, 255, 0.55);
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(0, 138, 255, 0.12);
}

.short-auth-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.7rem;
}

.short-auth-inline a {
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
}

.short-auth-inline a:hover {
    color: var(--bs-primary);
}

.short-auth-form .form-check {
    margin: 1.25rem 0;
}

.short-auth-form .form-check-input {
    margin-top: 0.18rem;
    border-color: #cbd5e1;
}

.short-auth-form .form-check-label,
.short-auth-form .custom-control-label {
    color: #475569;
}

.short-auth-form .form-check-label a,
.short-auth-form .custom-control-label a {
    color: var(--bs-primary);
    font-weight: 700;
    text-decoration: none;
}

.short-auth-submit {
    display: grid;
    gap: 0.9rem;
}

.short-auth-submit .btn {
    padding: 0.95rem 1.25rem;
    border-radius: 18px;
    font-weight: 800;
}

.short-auth-submit .btn-outline-dark {
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
    background: transparent;
}

.short-auth-footnote {
    margin-top: 1.1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.short-auth-footnote a {
    color: var(--bs-primary);
    font-weight: 700;
    text-decoration: none;
}

.short-auth-meta {
    margin-top: auto;
    padding-top: 1.4rem;
    color: #94a3b8;
    font-size: 0.86rem;
    text-align: center;
}

.short-auth-meta a {
    color: #475569;
    font-weight: 700;
    text-decoration: none;
}

.short-auth-showcase {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(0, 138, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #0f172a 0%, #111c34 100%);
    color: #e2e8f0;
}

.short-auth-showcase::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -20%;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(92, 201, 167, 0.16), transparent 70%);
}

.short-auth-showcase > * {
    position: relative;
    z-index: 1;
}

.short-auth-showcase-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #bfdbfe;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.short-auth-showcase h2 {
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
}

.short-auth-showcase p {
    max-width: 34rem;
    margin-bottom: 1.6rem;
    color: #cbd5e1;
    line-height: 1.75;
}

.short-auth-preview {
    display: grid;
    gap: 1rem;
}

.short-auth-preview-card {
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.short-auth-preview-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.short-auth-preview-url strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    word-break: break-all;
}

.short-auth-preview-url span {
    color: #bfdbfe;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.short-auth-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
}

.short-auth-bars {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: end;
    gap: 0.65rem;
    height: 150px;
    margin-bottom: 1rem;
}

.short-auth-bars span {
    display: block;
    border-radius: 16px 16px 6px 6px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.3) 0%, rgba(37, 99, 235, 1) 100%);
}

.short-auth-bars span:nth-child(2n) {
    background: linear-gradient(180deg, rgba(92, 201, 167, 0.28) 0%, rgba(92, 201, 167, 0.98) 100%);
}

.short-auth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.short-auth-stat {
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.short-auth-stat strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.short-auth-stat span {
    color: #cbd5e1;
    font-size: 0.82rem;
}

.short-auth-feature-list {
    display: grid;
    gap: 0.8rem;
}

.short-auth-feature-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.short-auth-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.14);
    color: #93c5fd;
}

.short-auth-feature-item strong {
    display: block;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
}

.short-auth-feature-item span {
    display: block;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.6;
}

.short-auth-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.short-auth-showcase-link:hover {
    color: #bfdbfe;
}

[data-theme="dark"] .short-auth-page {
    background:
        radial-gradient(circle at top left, rgba(0, 138, 255, 0.16), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(92, 201, 167, 0.14), transparent 24%),
        linear-gradient(180deg, #020617 0%, #0b1120 100%);
}

[data-theme="dark"] .short-auth-panel {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.88);
    box-shadow: none;
}

[data-theme="dark"] .short-auth-brand,
[data-theme="dark"] .short-auth-brand h1,
[data-theme="dark"] .short-auth-heading {
    color: #f8fafc;
}

[data-theme="dark"] .short-auth-switch,
[data-theme="dark"] .short-auth-copy,
[data-theme="dark"] .short-auth-inline a,
[data-theme="dark"] .short-auth-footnote,
[data-theme="dark"] .short-auth-meta {
    color: #cbd5e1;
}

[data-theme="dark"] .short-auth-form-shell {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.74);
}

[data-theme="dark"] .short-auth-social-btn,
[data-theme="dark"] .short-auth-form .form-floating > .form-control,
[data-theme="dark"] .short-auth-form .form-floating > .form-control-plaintext {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(30, 41, 59, 0.85);
}

[data-theme="dark"] .short-auth-form .form-control {
    color: #f8fafc;
}

[data-theme="dark"] .short-auth-form .form-floating > label {
    color: #94a3b8;
}

[data-theme="dark"] .short-auth-form .form-check-label,
[data-theme="dark"] .short-auth-form .custom-control-label {
    color: #e2e8f0;
}

[data-theme="dark"] .short-auth-submit .btn-outline-dark {
    border-color: rgba(148, 163, 184, 0.18);
    color: #f8fafc;
}

[data-theme="dark"] .short-auth-divider,
[data-theme="dark"] .short-auth-divider::before,
[data-theme="dark"] .short-auth-divider::after {
    color: #94a3b8;
    background-color: rgba(148, 163, 184, 0.14);
}

@media (max-width: 1199.98px) {
    .short-auth-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .short-auth-showcase {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .short-auth-page {
        padding: 1rem;
    }

    .short-auth-layout {
        gap: 1rem;
        min-height: calc(100vh - 2rem);
    }

    .short-auth-panel,
    .short-auth-showcase {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .short-auth-topbar {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .short-auth-form-shell {
        padding: 1.1rem;
        border-radius: 22px;
    }

    .short-auth-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .short-auth-social-row {
        gap: 0.6rem;
    }

    .short-auth-social-btn {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .short-auth-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
