/* Стили бургер-меню */
#burger-menu-btn {
    position: relative;
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 34px 0 0;
}

#burger-menu-btn div {
    background: var(--text-color);
    height: 4px;
    width: 100%;
    border-radius: 3px;
    transition: 0.3s ease;
}

#burger-menu-btn.open div:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#burger-menu-btn.open div:nth-child(2) {
    opacity: 0;
}

#burger-menu-btn.open div:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

#burger-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 300px;
    top: 50px;
    right: 10px;
    background: var(--bg-color);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slide-in 0.3s ease;
    font-size: 22px;
    margin: 4px 26px 0 0;
}

#burger-menu.show {
    display: flex;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Дизайн выпадающего меню языка */
#language-selector {
    appearance: none;
    background: var(--select-bg);
    color: var(--text-color);
    border: 1px solid var(--select-border);
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    margin: 10px 0 0 0;
}

#language-selector:hover {
    border-color: var(--button-border);
}

#language-selector:focus {
    outline: none;
}

input {
    margin: 10px 0;
}