/* ============================================================
   🌸 FlowTip Auth — стеклянный стиль входа и регистрации
============================================================ */

.auth-body {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Пастельный фон как в FlowTip */
    background: linear-gradient(135deg, #F7C8B8, #AEE6E6, #F9A8D4);
    background-size: 200% 200%;
    animation: bgMove 12s ease infinite;

    font-family: "Inter", sans-serif;
}

/* Анимация плавного движения фона */
@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Стеклянная карточка */
.auth-card {
    width: 360px;
    padding: 35px;
    border-radius: 20px;

    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);

    text-align: center;
    animation: fadeIn 0.6s ease;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main, #333);
    margin-bottom: 20px;
}

/* Ошибка */
.auth-error {
    background: rgba(255,120,120,0.25);
    border: 1px solid rgba(255,120,120,0.35);
    color: #6b0000;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Поля */
.auth-field {
    text-align: left;
    margin-bottom: 15px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #333);
}

.auth-field input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.45);

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);

    font-size: 15px;
    transition: 0.25s ease;
}

.auth-field input:focus {
    background: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.85);
    outline: none;
    transform: translateY(-2px);
}

/* Кнопка */
.auth-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(135deg, #F9A8D4, #AEE6E6);
    color: #fff;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.25s ease;
}

.auth-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #F7C8B8, #AEE6E6);
}

/* Футер */
.auth-footer {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary, #555);
}

.auth-footer a {
    color: #F9A8D4;
    font-weight: 600;
    text-decoration: none;
}

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

/* Адаптивность */
@media (max-width: 400px) {
    .auth-card {
        width: 90%;
        padding: 25px;
    }
}
