.lang-dropdown {
    position: relative;
    display: inline-block;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;;
    font-weight: 300;
    font-size: 14px;
    line-height: 0;
    color: #072260;
}

.lang-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    padding: 8px;
    transition: opacity 0.2s ease;
}

.lang-toggle:hover {
    opacity: 0.7;
}

.lang-chevron {
    transition: transform 0.3s ease;
}
.lang-dropdown.is-open .lang-chevron {
    transform: rotate(180deg);
}

.lang-current {
    text-transform: uppercase;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -68px;
    /*min-width: 180px;*/
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 8px!important;
    margin: 0;
    list-style: none;
    z-index: 1000;

    /* Анимация появления */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    filter: drop-shadow(0px -3px 2px rgba(0, 0, 0, 0.03));
}

.lang-dropdown.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-option > a {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    text-decoration: none;
    align-items: center;
    gap: 7px;
    padding: 7px 31px 7px 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: rgba(7, 34, 96, 1);
}

.lang-option.active {
    background-color: #fff;
    color: rgba(59, 133, 222, 1)!important;
    font-weight: 500;
}
.lang-option.active > a {
    color: rgba(59, 133, 222, 1)!important;
    font-weight: 500;
}

.lang-option:hover {
    background-color: rgba(230, 242, 253, 1);
}

.lang-check {
    opacity: 0;
    color: rgba(59, 133, 222, 1);
    flex-shrink: 0;
}

.lang-option.active .lang-check {
    opacity: 1;
}
