.mz-language-switcher-container {
    position: relative;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
    cursor: pointer;
    z-index: 9999;
}

.mz-current-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.mz-current-language:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mz-flag-icon {
    width: 22px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}

.mz-lang-code {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mz-arrow {
    display: flex;
    align-items: center;
    color: #64748b;
    transition: transform 0.3s ease;
}

.mz-language-switcher-container.open .mz-arrow {
    transform: rotate(180deg);
}

.mz-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mz-language-switcher-container.open .mz-language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mz-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    color: #334155;
    transition: background 0.2s ease;
}

.mz-lang-option:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mz-lang-option img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

/* Mobile Responsive - Hide desktop on mobile */
.mz-language-switcher-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .mz-language-switcher-desktop {
        display: none !important;
    }

    .mz-language-switcher-mobile {
        display: inline-block;
        width: 100%;
        border-top: 1px solid #e2e8f0;
        margin-top: 12px;
        padding-top: 12px;
    }

    .mz-language-switcher-mobile .mz-current-language {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .mz-language-switcher-mobile .mz-current-language:hover {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .mz-language-switcher-mobile .mz-language-dropdown {
        position: static;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
    }

    .mz-language-switcher-mobile.open .mz-language-dropdown {
        max-height: 400px;
    }

    .mz-language-switcher-mobile .mz-lang-option {
        padding: 10px 0;
    }

    .mz-language-switcher-mobile .mz-lang-option:hover {
        background: transparent;
        color: #334155;
    }
}

/* Hide Google Translate Banner */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon, 
.goog-te-gadget-simple span,
.goog-te-menu-value span {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-spinner-pos {
    display: none !important;
}
