/* ========== Формы регистрации и логина ========== */
.auth-card {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
}

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

.auth-title {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.auth-subtitle {
    color: #94a3b8;
    margin-top: 0.5rem;
}

.auth-form {
    width: 100%;
}

.auth-fields {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.auth-field {
    display: flex;
    flex-direction: column;
}

.auth-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: block;
}

.auth-input {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #d3d3d3;
    color: #000000;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.auth-input:focus {
    border-color: #3b82f6;
    background: #1a2332;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    outline: none;
}

.auth-input::placeholder {
    color: #64748b;
}

.auth-agreement {
    background: #EEE8CDCC;
    padding: 0.8rem;
    border-radius: 8px;ш
    border: 1px solid #475569;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.auth-checkbox {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.auth-agreement-text {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.auth-link {
    color: #60a5fa;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    font-size: 1.1rem;
}

.auth-recaptcha {
    color: #94a3b8;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Иконка слева, надпись по центру */
.nav-logo {
    gap: 0.5rem;
}

.nav-logo img {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.nav-logo span {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .nav-logo img {
        position: static;
        transform: none;
    }
    .nav-logo span {
        margin: 0;
    }
}

/* Исправление позиционирования иконки и текста */
.nav-container {
    position: relative;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.nav-logo img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: clamp(2.5rem, 7vw, 5rem);
}

.nav-logo span {
    text-align: center;
    flex: 1;
}

.nav-links {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

@media (max-width: 768px) {
    .nav-logo {
        flex-direction: column;
        gap: 0.25rem;
    }
    .nav-logo img {
        position: static;
        transform: none;
    }
    .nav-links {
        position: static;
        transform: none;
        margin-top: 0.5rem;
    }
}

