/* --- СТИЛИ ДЛЯ СТРАНИЦ АВТОРИЗАЦИИ И РЕГИСТРАЦИИ --- */

.auth-card {
    max-width: 480px;
    margin: 40px auto;
    background-color: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.auth-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--nav-text);
    text-align: center;
    font-size: 24px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

/* Единый стиль для всех инпутов в формах аутентификации */
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.auth-footer-text {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-footer-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

.field-error {
    color: #ef4444;
    font-size: 12px;
}

.non-field-errors {
    color: #ef4444;
    font-size: 14px;
    text-align: center;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ПРОФИЛЯ --- */

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}

.profile-value {
    font-weight: 600;
    color: var(--nav-text);
    text-align: right;
}

/* Статусы верификации */
.status-verified {
    color: #10b981;
    font-weight: 600;
}

.status-unverified {
    color: #ef4444;
    font-weight: 600;
}

/* Кнопка верификации (желтая/акцентная для привлечения внимания) */
.btn-warning {
    background-color: #f59e0b;
    color: #ffffff !important;
}

.btn-warning:hover {
    background-color: #d97706;
}

.profile-actions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ВЕРИФИКАЦИИ --- */

.auth-form p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.auth-form .form-fields p {
    text-align: left;
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.auth-form input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--nav-bg);
    color: var(--nav-text);
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.auth-form input[type="text"]:focus {
    border-color: var(--accent-color);
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-footer p {
    margin: 0;
    opacity: 0.8;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- СТИЛИ ДЛЯ ШАГА 2 ВЕРИФИКАЦИИ --- */

.error-message {
    color: #ef4444;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Поле для ввода кода подтверждения (крупные цифры по центру) */
.code-input {
    letter-spacing: 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}