/* auth.css – стили для страниц входа и регистрации */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
}

.auth-form {
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.auth-form h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 60%, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form .subtitle {
    text-align: center;
    color: #b0b0c0;
    margin-bottom: 28px;
    font-size: 14px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    color: #d0d0dd;
    font-weight: 600;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
    outline: none;
}

.auth-form input::placeholder {
    color: #808090;
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 6px;
}

.auth-form .error {
    color: #ff6b6b;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.auth-form .links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #b0b0c0;
}

.auth-form .links a {
    color: #ffd700;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-form .links a:hover {
    color: #fff;
}

/* Адаптивность */
@media (max-width: 480px) {
    .auth-form {
        padding: 30px 20px;
    }
    .auth-form h1 {
        font-size: 24px;
    }
}