/* ============================================================
   Maxforum — стили страниц авторизации
   ============================================================ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-wrap {
    width: 100%;
    max-width: 460px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    text-decoration: none;
}

.auth-logo span:last-child {
    font-family: "Unbounded", sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text);
}

.auth-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    border: 1px solid rgba(0, 204, 82, 0.2);
    border-radius: 28px;
    padding: 36px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 16px 40px rgba(0, 204, 82, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.auth-card h1 {
    font-family: "Unbounded", sans-serif;
    font-size: 22px;
    letter-spacing: -0.05em;
    margin-bottom: 6px;
    color: var(--text);
}

.auth-sub {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 26px;
}

.auth-alert {
    padding: 13px 16px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(255, 92, 122, 0.13);
    border: 1px solid rgba(255, 92, 122, 0.26);
    color: #ff8fa3;
    font-size: 14px;
    font-weight: 700;
}

/* Поля */
.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
    color: var(--text);
}

.field input {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: .2s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.field input:focus {
    border-color: rgba(0, 204, 82, 0.5);
    background: rgba(0, 204, 82, 0.02);
    box-shadow: 0 0 0 4px rgba(0, 204, 82, 0.1);
}

.field input::placeholder {
    color: var(--muted-2);
}

.field-hint {
    margin-top: 6px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 700;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.auth-footer a {
    color: var(--cyan);
    font-weight: 800;
    transition: .2s;
}

.auth-footer a:hover {
    color: #fff;
}

@media (max-width: 500px) {
    .auth-card { padding: 26px 20px; }
    .field-row { grid-template-columns: 1fr; }
}
