.ae-lang-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}

.ae-lang-current {
    background: transparent;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.ae-lang-current:hover,
.ae-lang-picker:focus-within .ae-lang-current {
    opacity: 1;
}

.ae-lang-flag {
    font-size: 15px;
    line-height: 1;
    display: inline-block;
}

.ae-lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: rgba(12, 10, 8, 0.96);
    border: 1px solid rgba(204, 184, 109, 0.25);
    border-radius: 6px;
    z-index: 1200;
    min-width: 36px;
}

.ae-lang-picker:hover .ae-lang-menu,
.ae-lang-picker:focus-within .ae-lang-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ae-lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0.7;
}

.ae-lang-option:hover,
.ae-lang-option.is-active {
    opacity: 1;
    background: rgba(204, 184, 109, 0.12);
}

.empire-sidebar-tools .ae-lang-picker {
    margin-right: 0;
}

.empire-sidebar-tools .ae-lang-current {
    padding: 4px;
}
