.header-lang {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

/* Override any existing button styles for header language switcher */
.header .header-lang .btn {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    min-height: 44px !important;
}

.header .header-lang .btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.header-lang .btn {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.header-lang .btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.5) !important;
    color: white !important;
}

.header-lang .btn .flag-emoji {
    font-size: 18px;
    margin-right: 8px;
}

.header-lang .dropdown-menu {
    min-width: 150px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #090402;
    margin-top: 5px;
}

.header-lang .dropdown-menu.show {
    display: block;
}

.header-lang .dropdown-item.active {
    background-color: #dc2626;
    color: white;
}

.header-lang .dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.header-lang .dropdown-item {
    padding: 12px 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    min-height: 44px;
}

@media (max-width: 768px) {
    .header-lang {
        margin-left: 10px;
    }
    
    .header-lang .btn {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .header-lang .dropdown-item {
        padding: 10px 14px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .header-lang .btn .img_lang {
        width: 18px;
        height: 18px;
    }
}
