.wpmls-switcher {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpmls-switcher a {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    text-decoration: none;
}

.wpmls-switcher .wpmls-active a {
    font-weight: 700;
}

.wpmls-switcher-dropdown {
    display: inline-block;
    position: relative;
}

.wpmls-switcher-dropdown summary {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .18);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    line-height: 1;
    list-style: none;
    min-height: 40px;
    padding: 8px 12px;
}

.wpmls-switcher-dropdown summary::-webkit-details-marker {
    display: none;
}

.wpmls-switcher-dropdown summary::after {
    border-color: currentColor transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0;
    content: "";
    margin-left: 2px;
}

.wpmls-switcher-current-flag,
.wpmls-switcher-flag {
    font-size: 22px;
    line-height: 1;
}

.wpmls-switcher-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .2);
    left: 0;
    list-style: none;
    margin: 8px 0 0;
    min-width: 190px;
    padding: 10px;
    position: absolute;
    top: 100%;
    z-index: 9999;
}

.wpmls-switcher-panel li a {
    border-radius: 7px;
    color: #0f172a;
    display: flex;
    gap: 10px;
    padding: 8px 10px;
}

.wpmls-switcher-panel li a:hover,
.wpmls-switcher-panel .wpmls-active a {
    background: rgba(15, 23, 42, .07);
}

.wpmls-switcher-name,
.wpmls-switcher-current-name {
    line-height: 1.3;
}
