/* 🔷 Основной стиль кнопки "бургер-меню" */
.burger-icon {
    --burger-size: 42px;             /* 🔧 Размер кнопки: ширина и высота */
    --burger-bg: #1c1f30;            /* 🎨 Цвет фона кнопки */
    --burger-color: #00ccff;         /* 🎨 Цвет линий (неоновый) */
    --burger-hover-color: #000;      /* 🎯 Цвет иконки при наведении */
    --burger-glow: 0 0 10px #00ccff; /* ✨ Свечение вокруг кнопки */

    width: var(--burger-size);              /* Применяем ширину */
    height: var(--burger-size);             /* Применяем высоту */
    background-color: var(--burger-bg);     /* Фон кнопки */
    border: 1px solid var(--burger-color);  /* Граница в цвет неона */
    border-radius: 10px;                    /* Скруглённые углы */
    display: flex;                          /* Включаем flex-раскладку */
    flex-direction: column;                /* Линии вертикально */
    justify-content: center;                /* Центрируем по вертикали */
    align-items: center;                    /* Центрируем по горизонтали */
    gap: 4px;                               /* Расстояние между полосками */
    box-shadow: inset 0 0 4px var(--burger-color), var(--burger-glow); /* Внутреннее и внешнее свечение */
    transition: all 0.3s ease;              /* Плавные анимации */
    padding: 0;                             /* Убираем лишние отступы */
}

/* 🔁 Эффект при наведении на кнопку */
.burger-icon:hover {
    background-color: var(--burger-color);  /* Меняем фон на неоновый */
    box-shadow: 0 0 10px var(--burger-color), 0 0 20px var(--burger-color); /* Усиливаем свечение */
    cursor: pointer;                        /* Курсор в виде руки */
}

/* 📏 Отдельные полоски в бургер-кнопке */
.burger-line {
    width: 22px;                            /* Длина полоски */
    height: 2px;                            /* Толщина полоски */
    background-color: var(--burger-color); /* Цвет линий */
    border-radius: 1px;                     /* Мягкое скругление */
    transition: 0.3s;                       /* Плавное изменение при анимациях */
}

/* 🌈 Разные цвета для каждой полоски */
.line-top {
    background-color: #007bff; /* голубой / неон */
}

.line-middle {
    background-color: #007bff; /* зелёный */
}

.line-bottom {
    background-color: #007bff; /* розово-пурпурный */
}



/* Общие стили для меню */
#burger-menu {
    position: absolute;
    top: 60px;
    right: 10px;
    --menu-width: 280px;
    width: var(--menu-width);
    background: rgba(0, 0, 0, 0.6); /* стеклянный чёрный */
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow:
        0 0 12px #00ccff,
        0 0 24px rgba(0, 204, 255, 0.4),
        0 0 36px rgba(0, 204, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 15px;
    display: none;
    z-index: 1000;
    color: #e0e0e0;
}


/* Убираем точки перед пунктами */
#burger-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Стили элементов меню */
#burger-menu a {
    display: block;
    padding: 12px 15px;
    font-size: 16px;
    text-decoration: none;
    color: #00ccff;
    font-weight: 500;
    border-radius: 8px;
    transition: 0.3s ease;
}

#burger-menu a:hover {
    background: rgba(0, 204, 255, 0.1);
    box-shadow: 0 0 6px rgba(0, 204, 255, 0.4);
}


/* Кнопка выхода */
.logout-btn {
    border: none;
    background: none;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 16px;
    color: #ff0033 !important; /* 🔴 Красный неон */
    text-align: left;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: rgba(255, 0, 51, 0.08); /* прозрачный красный фон при наведении */
    box-shadow: 0 0 6px rgba(255, 0, 51, 0.4);
}




/* Приветствие в бургер-меню */
.burger-greeting {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    padding: 10px 15px 8px 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 8px;
    word-wrap: break-word;        /* Перенос слов при длинных именах */
    max-width: 100%;
}

/* 🌀 Имя пользователя — неоновое сияние */
.neon-username {
    color: #00cfff; /* Яркий неон */
    font-weight: 700;
    font-size: 1.2rem; /* Крупнее */
    text-shadow:
        0 0 1px #00cfff,
        0 0 10px rgba(0, 204, 255, 0.6),
        0 0 20px rgba(0, 204, 255, 0.4);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* 🔁 Эффект при наведении — мягкое расширение и усиление свечения */
.neon-username:hover {
    transform: scale(1.05);
    text-shadow:
        0 0 6px #00f0ff,
        0 0 12px rgba(0, 255, 255, 0.8),
        0 0 24px rgba(0, 255, 255, 0.5);
    cursor: default;
}

/* 🎩 Приветствие перед именем */
.greeting {
    color: #dcdcdc;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 6px;
}


/* Шрифт */
.burger-greeting,
.greeting,
.neon-username {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.3px;
}




/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Показываем меню с анимацией */
#burger-menu.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Стили для бургер-иконки */
.burger-icon {
    background-color: transparent; /* Прозрачный фон */
    border: none; /* Убираем границы */
    font-size: 30px; /* Размер иконки */
    cursor: pointer; /* Делаем курсор "рукой" */
    padding: 8px 10px;
    border-radius: 6px; /* Закругляем углы */
    transition: background 0.3s ease;
}

/* Цвет при наведении */
.burger-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Стили для самой иконки (если используешь FontAwesome) */
.burger-icon i {
    color: #222; /* Цвет иконки */
}

/* Разделительная черта */
.menu-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #ddd; /* Светло-серая черта */
    margin: 40px 0;
}

/* Кнопка "Выйти" - делаем её как обычный текст */
.logout-btn {
    border: none;
    background: none;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 16px;
    color: #222; /* Чёрный цвет */
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* Добавляем эффект при наведении */
.logout-btn:hover {
    background-color: #f0f2f5;
}

.btn-gradient {
    background: linear-gradient(40deg, #00f2fe 0%, #4facfe 40%);
    color: white;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background 0.4s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(90deg, #685eea 40%, #764ba2 100%);
    color: white;
    text-decoration: none;
}


.btn-cancel-gradient {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffa08f 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background 0.4s ease, box-shadow 0.3s ease;
}

.btn-cancel-gradient:hover {
    background: linear-gradient(90deg, #ffa08f 0%, #ff6b6b 100%);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}


.ai-background {
    background: url('/static/img/fon.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}



.container {
    background-color: transparent !important;
}











