.mobile-lang-switcher-ab94f012 {
    display: none;
    z-index: 99999;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
}

@media (max-width: 767px) {
    .mobile-lang-switcher-ab94f012 {
        display: block;
    }
}

/* Toggle Button */
.mls-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--e-global-color-primary, #013C35);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    z-index: 100000;
    transition: transform 0.3s ease;
}

.mls-toggle-btn:active {
    transform: scale(0.95);
}

.mls-toggle-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Popup Container */
.mls-popup-container {
    position: fixed;
    bottom: 80px; /* Above the button */
    right: 20px;
    width: 280px;
    background-color: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 99999;
}

.mls-popup-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.mls-popup-header {
    background-color: var(--e-global-color-secondary, #025D4D);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.mls-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* Language List */
.mls-lang-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.mls-lang-list li {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.mls-lang-list li:hover {
    background-color: #f0f0f0;
}

.mls-lang-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--e-global-color-text, #333);
}

.mls-lang-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mls-flag {
    border-radius: 4px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.mls-text {
    display: flex;
    flex-direction: column;
}

.mls-native-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--e-global-color-primary, #013C35);
}

.mls-code {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.mls-lang-list li.active {
    background-color: rgba(2, 93, 77, 0.05); /* very light secondary */
}

.mls-check {
    color: var(--e-global-color-secondary, #025D4D);
    font-size: 18px;
    font-weight: bold;
}