.auth-page {
    padding: 2rem;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(0, 240, 255, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(112, 0, 255, 0.08) 0%, transparent 42%);
}

.auth-page.register-page {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
}

.auth-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.25rem;
}

.auth-shell.register-shell {
    width: min(1180px, 100%);
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.auth-shell.auth-shell-single {
    width: min(640px, 100%);
    grid-template-columns: 1fr;
}

.auth-panel,
.auth-card {
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 620px;
    padding: 2rem;
}

.register-shell .auth-panel {
    position: sticky;
    top: 2rem;
    min-height: auto;
}

.auth-card {
    padding: 2rem;
}

.auth-card.auth-card-wide {
    min-height: auto;
}

.marketing-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    color: var(--text-muted);
}

.auth-panel h1 {
    margin-top: 1rem;
    max-width: 640px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
}

.auth-panel p {
    margin-top: 1rem;
    max-width: 640px;
    color: var(--text-muted);
    line-height: 1.7;
}

.auth-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
}

.auth-card p {
    margin-top: 0.55rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.solution-focus,
.focus-box {
    margin-top: 1.4rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
}

.focus-box {
    border-radius: 18px;
    padding: 1.15rem;
}

.solution-focus strong,
.focus-box strong {
    display: block;
    font-size: 1.06rem;
}

.solution-focus span,
.focus-box span {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bullet-list,
.benefits {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.bullet-item,
.benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.bullet-item i,
.benefit i {
    margin-top: 0.14rem;
    color: var(--primary);
}

.auth-notice {
    display: none;
    margin-top: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.auth-notice.show {
    display: block;
}

.auth-notice.success {
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.1);
    color: #86efac;
}

.auth-form {
    margin-top: 1.1rem;
}

.form-stack,
.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.auth-card input {
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.92rem 1rem;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    transition: 0.2s ease;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.08);
}

.toggle-type {
    display: flex;
    margin-top: 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.32rem;
    background: rgba(0, 0, 0, 0.25);
}

.toggle-btn {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
}

.toggle-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.auth-submit {
    width: 100%;
    margin-top: 1.35rem;
    color: #fff;
    font-size: 1rem;
}

.register-shell .auth-submit {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
}

.auth-links {
    margin-top: 1.4rem;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.92rem;
}

.auth-links.auth-links-left {
    text-align: left;
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

.auth-links p + p {
    margin-top: 0.5rem;
}

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

    .register-shell .auth-panel {
        position: static;
    }

    .auth-panel {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
