body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Верхняя панель */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ff7f00;
    padding: 15px 20px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

/* Меню слева */
.nav-left {
    display: flex;
    gap: 20px;
    z-index: 9999;
}

.nav-left a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.nav-left a:hover, .nav-left a.active {
    color: white;
}

/* Языковой переключатель справа */
.language-switcher {
    font-size: 14px;
    margin-top: 5px;
    margin-right: 25px; 
}

.language-switcher a {
    color: black;
    text-decoration: none;
    margin: 0 5px;
}

.language-switcher a:hover {
    color: white;
}

/* Навигационное меню (если используешь отдельно .nav-menu) */
.nav-menu {
    display: flex;
    justify-content: center;
    background-color: #111;
    padding: 10px;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #ff7f00;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.nav-menu a:hover, .nav-menu a.active {
    color: white;
}

/* Логотип */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: black; /* Черный цвет логотипа */
}

/* Основной контейнер */
.container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100vw;
    overflow: hidden;
    padding: 20px;
}

/* Кнопка */
.button {
    background-color: #ff7f00;
    color: #fff;
    padding: 12px 25px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.button:hover {
    background-color: #e66f00;
}

/* Подвал */
.footer-text {
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Анимация фона */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
    display: block;
    z-index: -1;
    pointer-events: none; 
}

/* Гамбургер (мобильное меню) */
.hamburger {
    display: none; /* По умолчанию скрыто на десктопе */
    font-size: 30px;
    cursor: pointer;
    color: black;
}

/* Мобильная адаптация */
@media screen and (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block; /* Показываем кнопку на мобильном */
    }

    .nav-left {
        display: none; /* Прячем меню */
        flex-direction: column;
        background-color: #111;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        z-index: 9999;
    }

    .nav-left a {
        display: block;
        padding: 10px;
        color: #ff7f00;
    }
    .nav-left a:hover {
        color: #fff;
    }
}

/* Селекторы отчётов */
.report-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.report-selector label {
    font-size: 16px;
}

.report-selector select {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
}

.report-selector button {
    background-color: #ff7f00;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.report-selector button:hover {
    background-color: #e66f00;
}
