/* === СТРАНИЦА ВХОДА === */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* === БЛОК ФОРМЫ === */
.auth-box {
    width: 100%;
    max-width: 420px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 44px 40px;
    position: relative;
    z-index: 1;
    animation: authIn 0.6s ease-out;
}

@keyframes authIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-box h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: var(--brand);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 14px;
}

/* === ФОРМА === */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px;
}

.auth-form .form-group input {
    padding: 14px 16px;
    font-size: 14px;
    font-family: var(--font);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    transition: all var(--transition);
    color: var(--text);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
}

.auth-form .form-group input::placeholder {
    color: var(--text-muted);
}

/* === КНОПКА ВХОДА === */
.auth-form .btn-primary {
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
}

/* === СООБЩЕНИЯ === */
.error-msg {
    color: var(--danger);
    font-size: 13px;
    text-align: center;
    min-height: 20px;
    font-weight: 500;
}

.success-msg {
    color: var(--success);
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

/* === БЛОК НАСТРОЙКИ === */
.setup-block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px solid var(--border);
}

.setup-block > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}