/* Language switcher — shared */
.vc999-lang-switcher {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vc999-lang-icon {
    display: inline-flex;
    align-items: center;
    color: #333;
    flex-shrink: 0;
}

.vc999-lang-icon svg {
    display: block;
}

.vc999-lang-switcher select {
    padding: 8px 32px 8px 12px;
    border: 2px solid #333;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 140px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vc999-lang-switcher select:hover {
    border-color: #0073aa;
}

.vc999-lang-switcher select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.25);
}

/* Floating style — fixed bottom-right */
.vc999-lang-switcher--floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Dropdown style — inline at top of page */
.vc999-lang-switcher--dropdown {
    padding: 8px 16px;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

/* Loading state while translating */
.vc999-translating .elementor-heading-title,
.vc999-translating .elementor-widget-text-editor,
.vc999-translating .elementor-widget-heading,
.vc999-translating .elementor-nav-menu,
.vc999-translating .entry-content,
.vc999-translating .entry-title,
.vc999-translating [data-vc999-translate] {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.vc999-translating .vc999-lang-switcher select {
    pointer-events: none;
    opacity: 0.6;
}
