/* Страницы авторизации */
.auth-page {
    min-height: calc(100vh - 76px); /* Вычитаем высоту navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    background: #f3f4f6;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #f97316;
}

.auth-header h2 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.auth-header p {
    color: #6b7280;
    margin: 0;
}

/* Форма */
.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-input, .auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus, .auth-form input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Кнопка отправки */
.auth-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(120deg, #f97316, #fb923c);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.register-btn {
    background: linear-gradient(120deg, #10b981, #34d399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.register-btn:hover {
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.auth-submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Ошибки */
.auth-error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b91c1c;
}

.error-icon {
    font-size: 1.2rem;
}

.field-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Футер формы */
.auth-footer {
    text-align: center;
    border-top: 2px solid #f3f4f6;
    padding-top: 1.5rem;
}

.auth-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #ea580c;
    text-decoration: underline;
}

.auth-quote {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

.auth-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.auth-features span {
    background: #f3f4f6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4b5563;
}