/* Language Switcher Dropdown Styles */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 36px 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 90px;
}

.lang-switcher-select:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-switcher-select:focus {
    background: rgba(246, 174, 45, 0.1);
    box-shadow: 0 0 0 3px rgba(246, 174, 45, 0.1);
}

.lang-switcher-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}

/* Custom dropdown arrow */
.lang-switcher::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.lang-switcher:hover::after {
    border-top-color: rgba(255, 255, 255, 0.9);
}

/* Desktop nav integration */
.desktop-nav {
    gap: 24px;
}

.desktop-nav .lang-switcher {
    margin-left: 12px;
}

/* Mobile menu integration */
.mobile-menu-lang-switcher {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.mobile-menu-lang-switcher .lang-switcher-select {
    padding: 12px 44px 12px 16px;
    font-size: 15px;
    min-width: 140px;
    border-radius: 20px;
}

.mobile-menu-lang-switcher .lang-switcher::after {
    right: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-nav .lang-switcher {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-lang-switcher {
        display: none;
    }
}

/* Flag icons as emoji fallback */
.lang-flag {
    font-size: 16px;
    line-height: 1;
}