/* ===== СТРАНИЦА АВТОРИЗАЦИИ ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: rgba(20, 20, 28, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Левая колонка — приветствие */
.auth-welcome {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 51, 102, 0.1), rgba(51, 204, 255, 0.05));
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-logo-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 20px #ff3366);
}

.auth-logo-text {
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff3366, #33ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.auth-welcome h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-welcome p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.auth-features {
    list-style: none;
    margin-top: 20px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 1rem;
}

.auth-features li span {
    font-size: 24px;
}

/* Правая колонка — форма */
.auth-form-wrapper {
    width: 400px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-wrapper h2 {
    font-weight: 300;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 28px;
    text-align: center;
}

.auth-form .input-group {
    margin-bottom: 20px;
}

.auth-form input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(138, 180, 248, 0.2);
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 16px;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
}

.auth-footer .switch-link {
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-footer .switch-link:hover {
    color: #fff;
}

.error-message {
    color: var(--accent-red);
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 800px) {
    .auth-container {
        flex-direction: column;
        max-width: 450px;
    }
    .auth-welcome {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 36px 32px;
    }
    .auth-form-wrapper {
        width: 100%;
        padding: 36px 32px;
    }
}