/* OTO Multilingual Styles */

.oto-ml-switcher {
    position: relative;
    z-index: 100;
}

.oto-ml-current {
    cursor: pointer;
    background: transparent;
    border: none;
    color: inherit;
}

.oto-ml-dropdown {
    min-width: 160px;
}

.oto-ml-switcher.active .oto-ml-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.oto-ml-switcher.active .oto-ml-arrow {
    transform: rotate(180deg);
}

.oto-ml-arrow {
    transition: transform 0.2s ease;
}

.oto-ml-option {
    text-decoration: none;
}

.oto-ml-flag {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .oto-ml-switcher {
        margin-left: auto;
    }

    .oto-ml-dropdown {
        right: 0;
        left: auto;
    }

    .oto-ml-lang-code {
        display: none;
    }
}

/* Header integration - for sticky header */
header .oto-ml-current {
    color: inherit;
}

header .oto-ml-dropdown {
    background: white;
}

/* Dark mode support */
.dark .oto-ml-dropdown {
    background: #1f2937;
    border-color: #374151;
}

.dark .oto-ml-option {
    color: #e5e7eb;
}

.dark .oto-ml-option:hover {
    background: #374151;
}
